17 lines
635 B
Plaintext
Executable File
17 lines
635 B
Plaintext
Executable File
- @contact = @contact || Contact.new
|
|
=semantic_form_for [:public, @contact], :remote => true do |f|
|
|
=f.inputs do
|
|
.row
|
|
.columns.span_8
|
|
|
|
=f.input :name, :label => false , :placeholder =>"Votre nom*"
|
|
=f.input :email, :label => false , :placeholder =>"Votre email*"
|
|
=f.input :tel, :label => false , :placeholder =>"Votre numéro de téléphone*"
|
|
|
|
=f.input :message, :label =>false , :placeholder => "Votre projet*"
|
|
|
|
.columns.span_4.button_container{:style => "text-align:center;position:relative;height:300px"}
|
|
.inner
|
|
=f.submit "Envoyer", :class => "btn"
|
|
|