9 lines
380 B
Plaintext
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" |