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

@ -8,7 +8,7 @@
.col-md-8
= semantic_form_for(@contact, url: admin_conference_contact_path(@conference.short_title), html: {multipart: true}) do |f|
= f.inputs name: 'Mail' do
= f.input :email, hint: 'Contact email address for your conference. Will be used as reply-to address in emails sent out by the system.'
= f.input :email, input_html: { autofocus: true }, hint: 'Contact email address for your conference. Will be used as reply-to address in emails sent out by the system.'
= f.input :sponsor_email, hint: 'This will appear in the sponsor segment of the splash for the sponsors to contact to the organizers'
= f.inputs name: 'Social Media' do
= f.input :social_tag, hint: "The hashtag you'll use on Twitter and Google+. Don't include the '#' sign!'"