This commit is contained in:
Nicolas Bally 2015-11-17 23:15:42 +01:00
parent b510b77974
commit 0add8f5ca4
6 changed files with 69 additions and 59 deletions

View File

@ -48,6 +48,6 @@
.content= yield .content= yield
.bottom{:style => "background:rgba(32,110,149,1);padding:10px;text-align:center;font-size:0.9em;"} .bottom{:style => "padding:10px;font-size:0.9em;"}
=link_to image_tag("http://negos-pro.fr/logo.png", :style => "margin:20px auto;display:block;height:200px;"), "http://negos-pro.fr" =link_to image_tag("http://negos-pro.fr/logo_mail.png", :style => "margin:20px auto;display:block;height:200px;"), "http://negos-pro.fr"

View File

@ -46,6 +46,10 @@
#main #main
=yield =yield
%br
%br
%br
.clear .clear
=#render :partial => "public/shared/bottom" =#render :partial => "public/shared/bottom"

View File

@ -1,4 +1,3 @@
.center.padding.white
-@customer = @customer || current_customer -@customer = @customer || current_customer
-@customer.step2 = true -@customer.step2 = true

View File

@ -1,21 +1,25 @@
.center.padding.white
-@customer = @customer || current_customer -@customer = @customer || current_customer
-@customer.step3 = true -@customer.step3 = true
= semantic_form_for [:public, @customer] do |f| = semantic_form_for [:public, @customer] do |f|
%h2 Peut être avez-vous déjà des besoins ?
%p %p
Vous pouvez indiquer ci-dessous 3 de vos besoins actuels, que ce soit en équipement ou en service : Votre inscription est terminée,noubliez pas dindiquer vos besoins actuels :
%h2{:style => "text-align:center;"}
Votre contribution est indispensable, pour que
%br
NEGOS puisse sadapter à vos besoins
%p Il ne sagit en aucun cas dun engagement
=f.inputs do =f.inputs do
=f.hidden_field :step3 =f.hidden_field :step3
.needs .needs
=f.text_area :need_1 =f.input :need_1, :label => "1er besoin : ",:as => :select, :collection => [ "Materiel professionnel", "Matériel informatique", "Achat de véhicules", "Energie"]
=f.text_area :need_2 =f.input :need_2, :label => "2ième besoin : ",:as => :select, :collection => [ "Materiel professionnel", "Matériel informatique", "Achat de véhicules", "Energie"]
=f.text_area :need_3 =f.input :need_3, :label => "3ième besoin : ", :placeholder => "Autre, précisez ",:rows => 5, :input_html => {:style => "height:100px;"}
%p Vous serez en collaboration avec un expert dans votre domaine qui vous conseillera et vous permettra de mettre en œuvre toutes les possibilités.
:scss :scss
.needs{ .needs{
textarea{ textarea{

View File

@ -16,12 +16,15 @@
%h2 %h2
=current_customer.organisation =current_customer.organisation
-if !current_customer.address or current_customer.need_1 == nil -if !current_customer.address or current_customer.need_1 == nil
%p
Merci beaucoup pour votre inscription, encore quelques petites minutes et votre profil sera complet !
-if !current_customer.address -if !current_customer.address
%p
Merci pour votre inscription, dernière étape et votre profil sera complet.
=render :partial => "public/my_account/step2" =render :partial => "public/my_account/step2"
-elsif !current_customer.need_1 -elsif !current_customer.need_1
%center
=render :partial => "public/my_account/step3" =render :partial => "public/my_account/step3"
-else -else
%p %p

BIN
public/logo_mail.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 493 KiB