.center.padding =#render :partial => "public/my_account/menu" -if !current_customer.enabled .alert.alert-warning %h1 Vous devez valider votre adresse mail. %p Vous avez du recevoir un message pour valider votre adresse mail. Tant que vous n'aurez pas cliquer sur le lien présent sur ce mail votre compte ne sera pas activé. %p Le mail a été envoyé à l'adresse : %strong= current_customer.email =link_to "renvoyer le mail de confirmation", public_reconfirm_email_path, :class => "btn btn-primary" -if !current_customer.address or current_customer.need_1 == nil or !current_customer.account_validated .padding.center.white %h2 =current_customer.organisation -if !current_customer.address %p Merci pour votre inscription, dernière étape et votre profil sera complet. =render :partial => "public/my_account/step2" -elsif !current_customer.need_1 %center =render :partial => "public/my_account/step3" -elsif !current_customer.account_validated %p Merci ! Votre profil est complet, nous vous contacterons prochainement. %p =link_to "Modifier mes infos", public_edit_infos_path, :class => "btn btn-primary" -if current_customer.account_validated .padding.center.white %h2 =current_customer.organisation %p %i.fa.fa-user #{current_customer.fullname} %p %i.fa.fa-map-marker #{ current_customer.full_address} %p =link_to "Modifier mes infos", public_edit_infos_path, :class => "btn btn-primary" .padding.center.white %h3 Ma liste de souhait -if @wishes.length > 0 =render "public/needs/wishes_index", wishes: @wishes .pagination= paginate @wishes -else %p Vous n'êtes encore intéressé par aucun besoin .padding.center.white %h3 Mes propositions de besoin %div.alert.alert-info %p Si vous avez un besoin qui ne fait pas encore parti de notre liste, vous pouvez vous-même le proposer à Négos. %br Votre proposition sera alors soumise à une courte validation par l'un de nos modérateurs. %br Vous serez informer par courriel dès l'acceptation de votre proposition. -if @needs.length > 0 =render "public/needs/index", needs: @needs -else %p Vous n'avez pas encore proposer de besoin =link_to "Proposer un besoin", new_public_need_path, :class => "btn btn-primary"