48 lines
1.7 KiB
Plaintext
48 lines
1.7 KiB
Plaintext
=render :partial => "public/my_account/menu"
|
|
|
|
.center.padding
|
|
|
|
|
|
%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 => "Image de profil :"
|
|
|
|
= f.input :firstname, :label => "Prénom"
|
|
= f.input :name, :label => "Nom"
|
|
= f.input :email, :label => "Email"
|
|
= f.input :tel_number, :label => "Téléphone (non visible sur les annonces par défaut)"
|
|
|
|
%h2 Dites en plus sur vous.
|
|
=f.inputs do
|
|
= f.input :localisation, :label => "Localisation"
|
|
%p Présentations courte :
|
|
=f.text_area :bio, :style => "width:98%;height:300px;"
|
|
|
|
|
|
%h2 Informations confidentielles
|
|
%p 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 Préférences concernant les envois de mail
|
|
%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
|
|
|