=form.inputs do

  =hidden_field_tag :order, params[:order]
  =form.hidden_field :particular_type
  =#form.hidden_field :force_validation, :class => "skip_validation"
  =form.hidden_field :pro
  -if false
    =form.input :price_in_bl, :label => "Afficher les prix dans le BL ?"
  .organisation_fields
    =form.input :organisation, :label => false, :placeholder => qit("don-particular-organisation","Organisation")

  %table{:style => "width:100%;"}
    %tr
      %td{:style => "width:20%;padding-right:4px;"}
        =form.input :civilite, :label => false, :placeholder => qit("don-particular-civilite","Civilité"), :as => :select, :collection => [[qit("don-particular-civilite-mme","Mme."), "Mme"], [qit("don-particular-civilite-m","M."), "M"]], :include_blank => true

      %td{:style => "width:40%"}
        =form.input :name, :label => false, :placeholder => qit("don-particular-name","Nom")

      %td{:style => "width:40%;padding-right:4px;"}
        =form.input :firstname, :label => false, :placeholder => qit("don-particular-firstname","Prénom")

  =form.input :address_2, :label => false, :placeholder => qit("don-particular-adresse","Adresse")
  =form.input :address_3, :label => false, :placeholder => qit("don-particular-adresse-suite","Adresse suite")
  %table
    %tr
      %td{:style => "width:30%;padding-right:4px;"}
        =form.input :cp, :label => false, :placeholder => qit("don-particular-cp", "Code postal")
      %td{:style => "width:70%"}
        =form.input :city, :label => false, :placeholder => qit("don-particular-ville","Ville")

  =form.input :country, :label => false, :placeholder => qit("don-particular-pays","Pays"), :priority_countries => ["FR", "CH", "BE"], :include_blank => false, :locale => @lang.slug

  =form.input :tel, :label => false, :placeholder => qit("don-particular-phone","Téléphone")
  =form.input :email, :label => false, :placeholder => qit("don-particular-email","Email")


  :coffeescript
    @organisation_check = (element) ->
      if element.is(':checked')
        element.closest('form').find('.organisation_fields').show()
        element.css('background', 'red')
      else
        element.closest('form').find('.organisation_fields').hide()

