
- @contact = @contact || Contact.new(:provenance_id => 1)
=semantic_form_for [:public, @contact], :remote => true do |f|
  =f.inputs do

    =f.hidden_field :provenance_id
    
    
    %table{:style => "border-collapse:collapse;width:100%;"}
      %tr
        
        %td{:style => "width:50%;vertical-align:top;padding-right:6px;"}
    
          =f.input :name, :label => false, :placeholder => qit("contact nom","Nom*")
      
        %td{:style => "width:50%;vertical-align:top;padding-left:6px;"}
          =f.input :firstname, :label => false, :placeholder => qit("contact prenom","Prénom*")



      %tr
        
        %td{:style => "width:50%;vertical-align:top;padding-right:6px;"}
          =f.input :email, :label =>  false , :placeholder  =>"Email*"
        %td{:style => "width:50%;vertical-align:top;padding-left:6px;"}
          =f.input :phone, :label => false, :placeholder => qit("contact tel","Téléphone*")
      %tr
        %td{:colspan => 2}
          =f.input :message, :label =>false , :placeholder => "Message"
  
  
  
    .submit
      =f.submit "Envoyer", :class => "btn"
  
  
  
      
      
      
    .clear    
  