=semantic_form_for [:admin, @partition], :remote => true do |f|

  .content
    =f.inputs do
      = f.input :date, :label => "Date d'execution :", :as => :date
      = f.input :description, :label => "Description :" 
      = #f.input :stock_ok, :label => "stock_ok :" 
      
      
      .partition_lines_form
        =f.semantic_fields_for :partition_lines do |f|
          =render :partial => "admin/partition_lines/form", :locals => {:form => f}
  
      %p= link_to_add_fields "Ajouter une ligne", f, :partition_lines, {:class => "btn btn-primary", :partial =>( "admin/partition_lines/form")}
  
  
      
      
      
      
      
  .actions=f.submit "sauvegarder", :class => "btn btn-primary"
  