Added autofocus in a number of forms, plus correction of a few spelling mistakes
folding code into existing hash in commercials/index
This commit is contained in:
parent
ada178d62c
commit
e5948698db
17 changed files with 17 additions and 17 deletions
|
|
@ -9,7 +9,7 @@
|
|||
.col-md-8
|
||||
= semantic_form_for(@target, url: (@target.new_record? ? admin_conference_targets_path : admin_conference_target_path(@conference.short_title, @target))) do |f|
|
||||
= f.input :due_date, as: :string, input_html: { class: 'target-due-date-datepicker'}, label: 'Until when do you want to have '
|
||||
= f.input :target_count, label: 'this amount of '
|
||||
= f.input :target_count, input_html: { autofocus: true }, label: 'this amount of '
|
||||
= f.input :unit, as: :select, label: 'Unit', class: 'form-control', collection: Target.units.values, include_blank: false
|
||||
%p.text-right
|
||||
= f.action :submit, as: :button, button_html: { class: 'btn btn-primary' }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue