26 lines
854 B
Plaintext
Executable File
26 lines
854 B
Plaintext
Executable File
.center.padding.white
|
|
%h1 Modifier mon profil
|
|
-@customer = @customer || current_customer
|
|
-@customer.step2 = true
|
|
-@customer.step3 = true
|
|
= semantic_form_for [:public, @customer] do |f|
|
|
=f.inputs do
|
|
|
|
= f.input :organisation, :label => "Société / Entreprise"
|
|
= f.input :firstname, :label => "Prénom"
|
|
= f.input :name, :label => "Nom"
|
|
= f.input :email, :label => "Email"
|
|
= f.input :phone, :label => "Téléphone (non visible sur les annonces par défaut)"
|
|
|
|
=render :partial => "public/my_account/step2"
|
|
=render :partial => "public/my_account/step3"
|
|
|
|
|
|
=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
|