.qi_header %h1 Consultation fournisseur %span =@demande.list_designaton .qi_row =semantic_form_for [:admin, @price_document], :html => {:class => "qi_price_form"}, :remote => false do |f| -@p_customer = @price_document.p_customer =diag do =f.object.errors.messages .content =f.inputs do =f.hidden_field :ref_element_type =f.hidden_field :ref_element_id =f.hidden_field :doc_ref_id =f.hidden_field :price_document_type_id = f.input :public_fournisseur_name, :label => "Nom entreprise" =hidden_field_tag :public_edit, params[:public_edit] = @price_document.price_line_block.block_type .price_line_block_form =f.semantic_fields_for :price_line_block do |f| =render :partial => "admin/price_line_blocks/form_#{f.object.block_type_slug}", :locals => {:f => f} .large_actions .actions=f.submit "sauvegarder", :class => "btn btn-primary"