Quelques champs html5 supplémentaires
This commit is contained in:
parent
4638f3228f
commit
e2780baa28
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user