ual_app/app/views/public/contacts/_form.html.haml
2014-11-06 19:13:53 +01:00

9 lines
380 B
Plaintext

- @contact = @contact || Contact.new
=semantic_form_for [:public, @contact], :remote => true do |f|
=f.inputs do
=f.input :name, :label => "Nom :"
=f.input :email, :label => "Email :"
=f.input :tel, :label => "Téléphone :"
=f.input :place, :label => "Lieu de votre projet :"
=f.input :message, :label => "Message :"
=f.submit "Envoyer", :class => "btn"