34 lines
905 B
Plaintext
Executable File
34 lines
905 B
Plaintext
Executable File
|
|
- @contact = @contact || Contact.new()
|
|
=semantic_form_for [:public, @contact], :remote => true do |f|
|
|
=f.inputs do
|
|
|
|
|
|
%table{:style => "border-collapse:collapse;width:100%;"}
|
|
%tr
|
|
|
|
%td{:style => "width:33.33%;vertical-align:top;padding-right:6px;"}
|
|
|
|
=f.input :name, :label => false, :placeholder => "Nom/Prénom*"
|
|
|
|
|
|
%td{:style => "width:33.33%;vertical-align:top;padding-right:6px;"}
|
|
=f.input :email, :label => false , :placeholder =>"Email*"
|
|
%td{:style => "width:33.33%;vertical-align:top;padding-left:6px;"}
|
|
=f.input :phone, :label => false, :placeholder => qit("contact tel","Téléphone*")
|
|
%tr
|
|
%td{:colspan => 3}
|
|
=f.input :message, :label =>false , :placeholder => "Message"
|
|
|
|
|
|
|
|
.submit
|
|
=f.submit "Envoyer", :class => "btn"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.clear
|
|
|