diff --git a/app/views/layouts/mail.html.haml b/app/views/layouts/mail.html.haml
index d695e72..935872f 100755
--- a/app/views/layouts/mail.html.haml
+++ b/app/views/layouts/mail.html.haml
@@ -48,6 +48,6 @@
.content= yield
- .bottom{:style => "background:rgba(32,110,149,1);padding:10px;text-align:center;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"
+ .bottom{:style => "padding:10px;font-size:0.9em;"}
+ =link_to image_tag("http://negos-pro.fr/logo_mail.png", :style => "margin:20px auto;display:block;height:200px;"), "http://negos-pro.fr"
\ No newline at end of file
diff --git a/app/views/layouts/public.html.haml b/app/views/layouts/public.html.haml
index 3b124c0..f40a606 100644
--- a/app/views/layouts/public.html.haml
+++ b/app/views/layouts/public.html.haml
@@ -45,6 +45,10 @@
#main
=yield
+
+ %br
+ %br
+ %br
.clear
=#render :partial => "public/shared/bottom"
diff --git a/app/views/public/my_account/_step2.html.haml b/app/views/public/my_account/_step2.html.haml
index 1943f31..0122177 100644
--- a/app/views/public/my_account/_step2.html.haml
+++ b/app/views/public/my_account/_step2.html.haml
@@ -1,27 +1,26 @@
-.center.padding.white
- -@customer = @customer || current_customer
- -@customer.step2 = true
+-@customer = @customer || current_customer
+-@customer.step2 = true
- = semantic_form_for [:public, @customer] do |f|
-
+= semantic_form_for [:public, @customer] do |f|
+
+
+
+ %h2 Informations détaillées
+ =f.inputs do
+ =f.hidden_field :step2
+ =f.input :tva_number, :label => "Numéro de TVA intra. :"
+ =f.input :siret, :label => "Numéro de siret :"
-
- %h2 Informations détaillées
- =f.inputs do
- =f.hidden_field :step2
- =f.input :tva_number, :label => "Numéro de TVA intra. :"
- =f.input :siret, :label => "Numéro de siret :"
-
- =render :partial => "public/my_account/address", :locals => {:f => f}
- =#%h2 Préférences concernant les envois de mail
+ =render :partial => "public/my_account/address", :locals => {:f => f}
+ =#%h2 Préférences concernant les envois de mail
-
- =#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
+
+ =#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
diff --git a/app/views/public/my_account/_step3.html.haml b/app/views/public/my_account/_step3.html.haml
index 1adc8e0..208416a 100644
--- a/app/views/public/my_account/_step3.html.haml
+++ b/app/views/public/my_account/_step3.html.haml
@@ -1,34 +1,38 @@
-.center.padding.white
- -@customer = @customer || current_customer
- -@customer.step3 = true
- = semantic_form_for [:public, @customer] do |f|
-
-
-
- %h2 Peut être avez-vous déjà des besoins ?
- %p
- Vous pouvez indiquer ci-dessous 3 de vos besoins actuels, que ce soit en équipement ou en service :
- =f.inputs do
- =f.hidden_field :step3
- .needs
- =f.text_area :need_1
- =f.text_area :need_2
- =f.text_area :need_3
-
- :scss
- .needs{
- textarea{
- width:auto;
- padding:2.5%;
- display:block;
- width:95%;
- border-radius:5px;
- margin-bottom:1em;
- }
-
- }
-
-
- =f.submit "Sauvegarder", :class => "btn btn-primary"
+
+-@customer = @customer || current_customer
+-@customer.step3 = true
+= semantic_form_for [:public, @customer] do |f|
+
+ %p
+ Votre inscription est terminée,n’oubliez pas d’indiquer vos besoins actuels :
+ %h2{:style => "text-align:center;"}
+ Votre contribution est indispensable, pour que
%br
+ NEGOS puisse s’adapter à vos besoins
+ %p Il ne s’agit en aucun cas d’un engagement
+
+ =f.inputs do
+ =f.hidden_field :step3
+ .needs
+ =f.input :need_1, :label => "1er besoin : ",:as => :select, :collection => [ "Materiel professionnel", "Matériel informatique", "Achat de véhicules", "Energie"]
+ =f.input :need_2, :label => "2ième besoin : ",:as => :select, :collection => [ "Materiel professionnel", "Matériel informatique", "Achat de véhicules", "Energie"]
+ =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
+ .needs{
+ textarea{
+ width:auto;
+ padding:2.5%;
+ display:block;
+ width:95%;
+ border-radius:5px;
+ margin-bottom:1em;
+ }
+
+ }
+
+
+ =f.submit "Sauvegarder", :class => "btn btn-primary"
+ %br
diff --git a/app/views/public/my_account/index.html.haml b/app/views/public/my_account/index.html.haml
index 46bbabf..1ee02e1 100644
--- a/app/views/public/my_account/index.html.haml
+++ b/app/views/public/my_account/index.html.haml
@@ -16,13 +16,16 @@
%h2
=current_customer.organisation
-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
+ %p
+ Merci pour votre inscription, dernière étape et votre profil sera complet.
=render :partial => "public/my_account/step2"
-elsif !current_customer.need_1
- =render :partial => "public/my_account/step3"
+ %center
+
+ =render :partial => "public/my_account/step3"
-else
%p
Merci ! Votre profil est complet, nous vous contacterons prochainement.
diff --git a/public/logo_mail.png b/public/logo_mail.png
new file mode 100644
index 0000000..817b6fd
Binary files /dev/null and b/public/logo_mail.png differ