Merge pull request #6778 from betagouv/6773-autocomplete
facilite le remplissage automatique de l'email
This commit is contained in:
commit
4a7a24ec7c
1 changed files with 1 additions and 2 deletions
|
@ -19,12 +19,11 @@
|
|||
= label_tag :email do
|
||||
Email
|
||||
%span.mandatory *
|
||||
= text_field_tag :email, params[:email], required: true
|
||||
= text_field_tag :email, params[:email], required: true, autocomplete: 'email'
|
||||
|
||||
.contact-champ
|
||||
= label_tag :type do
|
||||
= t('.your_question')
|
||||
%span.mandatory *
|
||||
= hidden_field_tag :type, params[:type]
|
||||
%dl
|
||||
- @options.each do |(question, question_type, link)|
|
||||
|
|
Loading…
Add table
Reference in a new issue