tabbing on publisher to everyone focuses submit button

This commit is contained in:
danielvincent 2010-11-02 17:35:12 -07:00
parent 7e1ee9f371
commit a79d1f5240

View file

@ -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')