From 7d96c95caf36b79e8b5bd9d49f80c05cadf4f017 Mon Sep 17 00:00:00 2001 From: danielvincent Date: Fri, 8 Oct 2010 14:15:35 -0700 Subject: [PATCH] fixed breaking aspect show pages --- app/views/shared/_publisher.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/shared/_publisher.haml b/app/views/shared/_publisher.haml index 0a0eff891..2a06c35ea 100644 --- a/app/views/shared/_publisher.haml +++ b/app/views/shared/_publisher.haml @@ -22,7 +22,7 @@ = f.hidden_field( :public, :value => (params[:action] == 'public') ) .buttons - = f.submit t('.share'), :name => "share", :id => "fii" - - if broadcast + = f.submit t('.share') + - if defined? broadcast = f.submit "Broadcast", :class => "broadcast", :name => "broadcast"