Quelques champs html5 supplémentaires

This commit is contained in:
echarp 2014-07-18 17:49:59 +02:00
parent 4638f3228f
commit e2780baa28
1 changed files with 3 additions and 3 deletions

View File

@ -54,19 +54,19 @@
:markdown :markdown
#{t '.url_helper'} #{t '.url_helper'}
= f.label :url = f.label :url
= f.text_field :url, required: true, size: 70, placeholder: 'Ex: http://april.org' = f.url_field :url, required: true, size: 70, placeholder: 'Ex: http://april.org'
.field .field
.helper .helper
:markdown :markdown
#{t '.contact_helper'} #{t '.contact_helper'}
= f.label :contact = f.label :contact
= f.text_field :contact, required: true, size: 70 = f.email_field :contact, required: true, size: 70
.field .field
.helper .helper
:markdown :markdown
#{t '.submitter_helper'} #{t '.submitter_helper'}
= f.label :submitter = f.label :submitter
= f.text_field :submitter, required: true, size: 70 = f.email_field :submitter, size: 70
.field .field
.helper .helper
:markdown :markdown