suite
This commit is contained in:
parent
b510b77974
commit
0add8f5ca4
@ -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"
|
||||||
|
|
@ -45,6 +45,10 @@
|
|||||||
|
|
||||||
#main
|
#main
|
||||||
=yield
|
=yield
|
||||||
|
|
||||||
|
%br
|
||||||
|
%br
|
||||||
|
%br
|
||||||
|
|
||||||
.clear
|
.clear
|
||||||
=#render :partial => "public/shared/bottom"
|
=#render :partial => "public/shared/bottom"
|
||||||
|
@ -1,27 +1,26 @@
|
|||||||
.center.padding.white
|
|
||||||
|
|
||||||
-@customer = @customer || current_customer
|
-@customer = @customer || current_customer
|
||||||
-@customer.step2 = true
|
-@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 :"
|
||||||
|
|
||||||
|
=render :partial => "public/my_account/address", :locals => {:f => f}
|
||||||
%h2 Informations détaillées
|
=#%h2 Préférences concernant les envois de mail
|
||||||
=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
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
=#f.inputs do
|
|
||||||
=#f.input :newsgroups, :label => "Les types d'informations qui m'intéressent :", :collection => Newsgroup.all, :as => :check_boxes
|
=#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.submit "Sauvegarder", :class => "btn btn-primary"
|
||||||
|
%br
|
||||||
|
@ -1,34 +1,38 @@
|
|||||||
.center.padding.white
|
|
||||||
|
|
||||||
-@customer = @customer || current_customer
|
|
||||||
-@customer.step3 = true
|
-@customer = @customer || current_customer
|
||||||
= semantic_form_for [:public, @customer] do |f|
|
-@customer.step3 = true
|
||||||
|
= semantic_form_for [:public, @customer] do |f|
|
||||||
|
|
||||||
|
%p
|
||||||
%h2 Peut être avez-vous déjà des besoins ?
|
Votre inscription est terminée,n’oubliez pas d’indiquer vos besoins actuels :
|
||||||
%p
|
%h2{:style => "text-align:center;"}
|
||||||
Vous pouvez indiquer ci-dessous 3 de vos besoins actuels, que ce soit en équipement ou en service :
|
Votre contribution est indispensable, pour que
|
||||||
=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"
|
|
||||||
%br
|
%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
|
||||||
|
@ -16,13 +16,16 @@
|
|||||||
%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
|
||||||
=render :partial => "public/my_account/step3"
|
%center
|
||||||
|
|
||||||
|
=render :partial => "public/my_account/step3"
|
||||||
-else
|
-else
|
||||||
%p
|
%p
|
||||||
Merci ! Votre profil est complet, nous vous contacterons prochainement.
|
Merci ! Votre profil est complet, nous vous contacterons prochainement.
|
||||||
|
BIN
public/logo_mail.png
Normal file
BIN
public/logo_mail.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 493 KiB |
Loading…
x
Reference in New Issue
Block a user