facilite le remplissage automatique de l'email

This commit is contained in:
Christophe Robillard 2021-12-23 13:50:14 +01:00
parent c97ce22e31
commit 878f735a80

View file

@ -19,12 +19,11 @@
= label_tag :email do = label_tag :email do
Email Email
%span.mandatory * %span.mandatory *
= text_field_tag :email, params[:email], required: true = text_field_tag :email, params[:email], required: true, autocomplete: 'email'
.contact-champ .contact-champ
= label_tag :type do = label_tag :type do
= t('.your_question') = t('.your_question')
%span.mandatory *
= hidden_field_tag :type, params[:type] = hidden_field_tag :type, params[:type]
%dl %dl
- @options.each do |(question, question_type, link)| - @options.each do |(question, question_type, link)|