=semantic_form_for [:admin, @p_customer_sheet], :html => {:class => "qi_price_form"}, :remote => false do |form|
  
  .content
    -if false and @p_customer_sheet and @p_customer_sheet.state != "commande"
      =form.input :demande_type, :collection => ["Demande de bon de commande","Demande de devis"], :as => :select, :include_blank => false
  
    .price_line_block_form
      =form.semantic_fields_for :price_line_block do |f|
        =render :partial => "admin/price_line_blocks/price_document_form", :locals => {:f => f}

    
  
  
  .right.actions
    =link_to "Annuler", admin_p_customer_sheets_path(), :class => "btn"
    =form.submit "sauvegarder", :class => "btn btn-primary btn-ap-add"
  .clear
  
