Merge pull request #6778 from betagouv/6773-autocomplete

facilite le remplissage automatique de l'email
This commit is contained in:
krichtof 2021-12-23 19:04:55 +01:00 committed by GitHub
commit 4a7a24ec7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)|