=semantic_form_for [:admin, @price_document], :url => save_avoir_admin_price_document_path(), :html => {:class => "qi_price_form"}, :remote => false do |f|
  -@p_customer = @price_document.p_customer
  
  =f.inputs do
    = f.hidden_field :p_customer_id
    =f.hidden_field :ref_element_type
    =f.hidden_field :ref_element_id
    =f.hidden_field :doc_ref_id

    =hidden_field_tag :public_edit, params[:public_edit]

  .price_line_block_form
    =f.semantic_fields_for :price_line_block do |f|
      =render :partial => "admin/price_line_blocks/form", :locals => {:f => f}

  
  
      
      
  .actions=f.submit "sauvegarder", :class => "btn btn-primary"
  
  

    
    
    