
-@customer = @customer || current_customer
-@customer.step2 = true

= semantic_form_for [:public, @customer] do |f|



  %h2 Informations détaillées
  =f.inputs do
    =f.hidden_field :step2
    =f.input :tva_number, :label => "Numéro de TVA intra. :"
    =f.input :siret, :label => "Numéro de siret :"
    =f.input :capital, :label => "Capital :"
    =f.input :role_signataire, :label => "Fonction du signataire :"

    =render :partial => "public/my_account/address", :locals => {:f => f}
  =#%h2 Préférences concernant les envois de mail



  =#f.inputs do
  =#f.input :newsgroups, :label => "Les types d'informations qui m'intéressent :", :collection => Newsgroup.all, :as => :check_boxes



  =f.submit "Sauvegarder", :class => "btn btn-primary"
  %br
