Add autofocus in admin/tickets#new
This commit is contained in:
parent
b93613fcc5
commit
9608e2032a
1 changed files with 2 additions and 2 deletions
|
|
@ -9,8 +9,8 @@
|
|||
.row
|
||||
.col-md-8
|
||||
= semantic_form_for(@ticket, url: (@ticket.new_record? ? admin_conference_tickets_path : admin_conference_ticket_path(@conference.short_title, @ticket))) do |f|
|
||||
= f.input :title
|
||||
= f.input :description, input_html: { rows: 5, data: { provide: "markdown-editable" } }
|
||||
= f.input :title, input_html: { autofocus: true }
|
||||
= f.input :description, input_html: { rows: 5, data: { provide: 'markdown-editable' } }
|
||||
= f.input :price
|
||||
= f.input :price_currency, as: :select, class: 'form-control', collection: ['USD', 'EUR', 'GBP', 'INR', 'CNY', 'CHF'], include_blank: false
|
||||
= f.input :registration_ticket, hint: 'A registration ticket is with which user register for the conference.'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue