Added autofocus on the name input in admin/lodgings#new
This commit is contained in:
parent
d464e48085
commit
52dcc6c474
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@
|
||||||
.row
|
.row
|
||||||
.col-md-8
|
.col-md-8
|
||||||
= semantic_form_for(@lodging, url: (@lodging.new_record? ? admin_conference_lodgings_path : admin_conference_lodging_path(@conference.short_title, @lodging))) do |f|
|
= semantic_form_for(@lodging, url: (@lodging.new_record? ? admin_conference_lodgings_path : admin_conference_lodging_path(@conference.short_title, @lodging))) do |f|
|
||||||
= f.input :name
|
= f.input :name, input_html: { autofocus: true}
|
||||||
= f.input :website_link
|
= f.input :website_link
|
||||||
= f.input :description, input_html: { rows: 5, cols: 20, data: { provide: 'markdown-editable' } }, hint: markdown_hint
|
= f.input :description, input_html: { rows: 5, cols: 20, data: { provide: 'markdown-editable' } }, hint: markdown_hint
|
||||||
- if @lodging.picture?
|
- if @lodging.picture?
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue