diff --git a/app/views/shared/_publisher.haml b/app/views/shared/_publisher.haml index 94f7737d7..c2ced4804 100644 --- a/app/views/shared/_publisher.haml +++ b/app/views/shared/_publisher.haml @@ -32,6 +32,11 @@ = status.hidden_field :to, :value => (aspect == :all ? aspect : aspect.id) .options_and_submit + - if aspect == :all + = status.submit t('.share'), :title => "Share with all aspects" + - else + = status.submit t('.share'), :title => "Share with #{aspect}" + - if aspect == :all .public_toggle = status.check_box( :public, {}, true, false ) @@ -42,10 +47,6 @@ #question_mark_pane = render 'shared/public_explain' - - if aspect == :all - = status.submit t('.share'), :title => "Share with all aspects" - - else - = status.submit t('.share'), :title => "Share with #{aspect}" #publisher_photo_upload = t('or')