22 lines
680 B
Plaintext
22 lines
680 B
Plaintext
%h3 Formulaire de contact
|
|
|
|
|
|
=form_tag create_public_contact_path, :method => :post do
|
|
%p{:style => "margin-top:0.5em;margin-bottom:0px;"}
|
|
%label Email :
|
|
=text_field_tag :mail, "", :placeholder => "Mail", :class => "validate[required]"
|
|
|
|
%p{:style => "margin-top:0.5em;margin-bottom:0px;"}
|
|
%label Sujet :
|
|
=text_field_tag :subject, "", :placeholder => "Sujet", :class => "validate[required]"
|
|
|
|
|
|
%p{:style => "margin-top:0.5em;margin-bottom:0px;"}
|
|
%label Message
|
|
=text_area_tag :message, "", :placeholder => "Message", :style => "height:10em;width:90%;"
|
|
=#%p Les champs marqués d'un * sont requis.
|
|
|
|
=submit_tag "Envoyer"
|
|
|
|
:javascript
|
|
$("form").validationEngine(); |