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 @@
|
|||
.row
|
||||
.col-md-8
|
||||
= semantic_form_for(@room, url: (@room.new_record? ? admin_conference_venue_rooms_path : admin_conference_venue_room_path(@conference.short_title, @room))) do |f|
|
||||
= f.input :name, input_html: { autofocus: true}
|
||||
= f.input :name, input_html: { autofocus: true }
|
||||
= f.input :size, label: 'Capacity', input_html: {size: 5}
|
||||
%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