7 lines
279 B
Plaintext
7 lines
279 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 :message, :label => "Message :"
|
|
=f.submit "Envoyer", :class => "btn" |