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(@sponsor, url: (@sponsor.new_record? ? admin_conference_sponsors_path : admin_conference_sponsor_path(@conference.short_title, @sponsor))) do |f|
|
||||
= f.input :name
|
||||
= f.input :name, input_html: { autofocus: true }
|
||||
= f.input :description
|
||||
= image_tag f.object.picture.thumb.url if f.object.picture?
|
||||
= f.input :picture
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue