=semantic_form_for [:admin, @p_fournisseur_order], :remote => true do |f|
  
  .content
    =f.inputs do
      =f.input :enter_date, :label => "Date de livraison", :as => :date_select
      = f.input :p_fournisseur_id, :label => "Fournisseur :", :collection => PFournisseur.all, :as => :select, :include_blank => false
      
      = f.input :ref, :label => "Référence :" 
      
      %hr
      %h3
        Matières premières :
      %p= link_to_add_fields "Ajouter une ligne", f, :p_product_brut_stocks 

      .p_product_brut_stocks_form
        =f.semantic_fields_for :p_product_brut_stocks do |form|
          =render :partial => "admin/p_product_brut_stocks/form", :locals => {:form => form}
          
          
  .actions=f.submit "sauvegarder", :class => "btn btn-primary"
  