.center
  = semantic_form_for [:public,@product_order], :url => particulars_save_public_product_orders_path(), :html => { :method => :post, :onchange =>"cb_infos();"}do |f| 

    =f.semantic_fields_for :product_customer do |f|
  

      .row
        .col-md-6
      
          %h3= qit "Adresse de facturation titre", "Adresse de facturation"
          %p
            &nbsp;
          =f.semantic_fields_for :particular_bill do |f| 
            =render :partial => "particular_form", :locals => {:f => f}


  



          -@particular_idem = f.object.particular_idem
  
        
    
        .col-md-6
          %h3=qit "Adresse de livraison titre", "Adresse de livraison"
          %p=f.input :particular_idem, :label => qit("phrase-adresse-identique","Adresse de livraison identique à l'adresse de facturation ?"), :input_html => {:onchange => "particular_idem()", :id => "particular_idem_checkbox"}

          #particular_send
      
            =f.semantic_fields_for :particular_send do |f| 
    
              =render :partial => "particular_form", :locals => {:f => f}
    
    
  
    %br
    .actions
      %center
        =f.submit qit("Choisir le mode de livraison - bouton", "Choisir le mode de livraison"), :class => "btn btn-primary order_button"



    :coffeescript
      @particular_idem = ->
        if $("#particular_idem_checkbox").is(':checked')
          $('#particular_send').hide()
          $('#particular_send .skip_validation').val(1)
        else
          $('#particular_send').show()
          $('#particular_send .skip_validation').val('')
    
    :javascript
      particular_idem();
