=semantic_form_for [:admin, @price_document], url: match_p_fournisseur_save_admin_price_document_path, :html => {:class => "qi_price_form"}, :remote => true do |f|
  =diag do
    =f.object.errors.messages

  .content
    %h1.mb-2 Rapprochemnet du fournisseur
    .form-row
      .col-md-6
        = f.input :public_fournisseur_name, label: "Nom indiqué par le fournisseur :", :input_html => { :disabled => true, class: "mx-3" }
    .form-row
      .col-md-6
        =f.semantic_fields_for :price_line_block do |form|
          =form.input :p_fournisseur, as: :select, collection: PFournisseur.pluck(:name, :id), label: "Correspondance base fournisseurs :", :input_html => { class: "mx-3"}

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