82 lines
1.9 KiB
Plaintext
82 lines
1.9 KiB
Plaintext
-if @reseaux
|
|
-if @reseaux.menu_item
|
|
-@menu_item = @reseaux.menu_item
|
|
-else
|
|
-@menu_item = MenuItem.where(:slug => "negos-a-propos").first
|
|
-else
|
|
-@menu_item = MenuItem.where(:slug => "negos-a-propos").first
|
|
|
|
-if @menu_item
|
|
.page.center{:style => "padding-bottom:40px;"}
|
|
=render :partial => "public/blocks/block", :locals => {:block => @menu_item.menu_content.blocks[0]}
|
|
|
|
=semantic_form_for [:public, @abonnement] do |f|
|
|
=f.hidden_field :start_at
|
|
=f.hidden_field :end_at
|
|
=f.hidden_field :price
|
|
=f.hidden_field :slug
|
|
|
|
.center
|
|
|
|
%p{:style => "text-align:center;font-weight:bold;font-size:18px"}
|
|
Pour profiter des fonctions de Négos, vous pouvez dès à présent souscrire à un abonnement annuel de
|
|
=number_to_currency @abonnement.price
|
|
HT
|
|
(
|
|
=number_to_currency (@abonnement.price.to_f*1.2)
|
|
TTC)
|
|
|
|
%center
|
|
%p=submit_tag "Souscrire maintenant >", :class => "btn btn-primary"
|
|
|
|
.quartz_wrapper
|
|
.quartz_panel
|
|
.right
|
|
|
|
=link_to "http://quartz.xyz", :target => "_blank" do
|
|
%img{:alt => "Logo", :src => "http://quartz.xyz/logo.png"}/
|
|
.create_simple
|
|
Communiquer, simplifier, valoriser votre activité
|
|
|
|
%p.contact
|
|
Nicolas Bally -
|
|
%a{:href => "mailto:contact@quartz-agence.com"} contact@quartz-agence.com
|
|
\- +33 (0) 677 548 239
|
|
%p{:style => "padding-top:20px"}
|
|
|
|
|
|
Dévelopé par :
|
|
.clear
|
|
|
|
|
|
|
|
:scss
|
|
.quartz_wrapper{
|
|
margin-top:50px;
|
|
padding:40px 50px;
|
|
margin-bottom:0px;
|
|
background: #f8f8f8 url(/fond-accueil.jpg) center center;
|
|
background-size: 100%;
|
|
background-size: cover;
|
|
}
|
|
.quartz_panel{
|
|
|
|
text-align:right;
|
|
|
|
.right{
|
|
width:350px;
|
|
text-align:center;
|
|
float:right;
|
|
font-size:12px;
|
|
|
|
img{
|
|
width:260px
|
|
|
|
}
|
|
.create_simple{
|
|
font-size:15px;
|
|
margin:5px 0;
|
|
margin-top:10px;}
|
|
}
|
|
|
|
} |