56 lines
2.1 KiB
Plaintext
56 lines
2.1 KiB
Plaintext
=render :partial => "public/my_account/menu"
|
|
|
|
.center.padding
|
|
|
|
|
|
%h1
|
|
=qit("account-edit-infos-h1", "Modifier mon profil")
|
|
-@annonce_account = @annonce_account || current_annonce_account
|
|
|
|
= semantic_form_for [:public, @annonce_account] do |f|
|
|
=f.inputs do
|
|
=image_tag(f.object.avatar.square.url, :style => "height:4em;") if f.object.avatar
|
|
|
|
= f.input :avatar, :label => qit("account-edit-infos-image-profil", "Image de profil :")
|
|
|
|
= f.input :firstname, :label => qit("account-edit-infos-prenom", "Prénom")
|
|
= f.input :name, :label => qit("account-edit-infos-nom", "Nom")
|
|
= f.input :email, :label => qit("account-edit-infos-email", "Email")
|
|
= f.input :tel_number, :label => qit("account-edit-info-telephone", "Téléphone (non visible sur les annonces par défaut)")
|
|
|
|
%h2
|
|
=qit("account-edit-h21", "Dites en plus sur vous.")
|
|
=f.inputs do
|
|
= f.input :localisation, :label => "Localisation"
|
|
%p
|
|
=qit("account-edit-p1", "Présentations courte :")
|
|
=f.text_area :bio, :style => "width:98%;height:300px;"
|
|
|
|
|
|
%h2
|
|
=qit("account-edit-h22", "Informations confidentielles")
|
|
%p
|
|
=qit("account-edit-p2", "Les informations ci-dessous ne seront pas visibles par les autres membres.")
|
|
=f.inputs do
|
|
=render :partial => "public/my_account/address", :locals => {:f => f}
|
|
%h2
|
|
=qit("account-edit-h23", "Préférences concernant les envois de mail")
|
|
|
|
=qit "account-edit-p3" do
|
|
%p
|
|
Nous envoyons régulièrement des informations à nos clients.
|
|
%p Dans le but de mieux répondre à vos attentes vous pouvez sélectionner ci-dessous le ou les type(s) d'informations qui vous intéressent.
|
|
%p
|
|
Soyez rassurés, nous ne vous innonderons pas de mails.
|
|
|
|
=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
|
|
%br
|
|
=render :partial => "public/my_account/note_pays"
|
|
%br
|
|
|