basic_app/app/views/public/contacts/_form.html.haml
Nicolas Bally 4c750c08b0 suite
2020-07-01 18:14:53 +02:00

41 lines
883 B
Plaintext
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

- @contact = @contact || Contact.new
=semantic_form_for [:public, @contact], :remote => true do |f|
=f.inputs do
=f.hidden_field :raison_id
=f.hidden_field :survey_set_id
=f.input :name, :label => false, :placeholder => qit("contact nom","Nom*")
=f.input :email, :label => false , :placeholder =>"Email"
=f.input :phone, :label => false, :placeholder => qit("contact tel","Téléphone")
=f.input :message, :label =>false , :placeholder => "Message"
%p{:style => "text-align:left;"}
Prenez connaissance de notre déclaration de protection des données
%br
En soumettant ce formulaire j'accepte que Basic utilise mes données pour me communiquer des informations sur ses domaines dactivités
=f.submit "Envoyer", :class => "btn"
%br
%br