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:
Thaleia Tagaraki 2017-12-11 02:01:58 +02:00 committed by Stella Rouzi
parent ada178d62c
commit e5948698db
17 changed files with 17 additions and 17 deletions

View file

@ -10,6 +10,6 @@
= semantic_form_for @role, url: @url do |f|
.row
.col-md-5
= f.input :description
= f.input :description, input_html: { autofocus: true }
= f.action :submit, as: :button, button_html: { class: 'btn btn-primary' }