Quelques champs html5 supplémentaires

This commit is contained in:
echarp 2014-07-18 17:49:59 +02:00
parent 4638f3228f
commit e2780baa28

View File

@ -54,19 +54,19 @@
:markdown
#{t '.url_helper'}
= 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
.helper
:markdown
#{t '.contact_helper'}
= f.label :contact
= f.text_field :contact, required: true, size: 70
= f.email_field :contact, required: true, size: 70
.field
.helper
:markdown
#{t '.submitter_helper'}
= f.label :submitter
= f.text_field :submitter, required: true, size: 70
= f.email_field :submitter, size: 70
.field
.helper
:markdown