!!!
%html{ :'xml:lang' => "fr", :lang => "fr" }
%head
%meta{ :"http-equiv" => "Content-Type", :content => "text/html; charset=utf-8" }
%title
Site officiel de la mairie de Saint Etienne de Crossey | Isère | Rhône-Alpes | France |
= @title.to_s || ""
= stylesheet_link_tag 'public'
= javascript_include_tag "public"
%body
#top
Commune de
%br
%strong Saint Etienne de Crossey
=link_to image_tag("style/frontend/cms/logo_top.gif", :id => "logo"), "/"
#struct
#main
#gauche
#date
=l Time.now
#red
%ul#menu.sf-menu.sf-vertical
%li=link_to "Accueil", "/"
=render :partial => "public/shared/first_menu", :collection => MenuItem.where(:parent_id => nil, :enabled => true, :visible => true, :archived => nil).order(:position), :as => :menu_item
%li=link_to "NEWSLETTER : <<<< nouveau", new_public_inscrit_path
%p{:style => "clear:left;"}
= yield :red_sidebar
#white
#acces_rapide
=image_tag "style/frontend/acces.gif"
=menu_item_link(MenuItem.find(8))
=menu_item_link(MenuItem.find(9))
=menu_item_link(MenuItem.find(10))
#calendar_sidebar=render :partial => "public/events/small_calendar"
= yield :sidebar
%br
%h2 Météo
%center
-if @accueil
#diaporama
=image_tag('diaporama/1.jpg')
#right
#camping
=link_to image_tag("camping.png", :alt => "Camping municipal pays voironnais"), "/services-aux-habitants/camping-en-chartreuse-isere.html"
Facebook
#echo
=menu_item_link(MenuItem.find(39))
%br
%br
=menu_item_link(MenuItem.find(100))
%br
%br
#agenda
=menu_item_link(MenuItem.find(5))
%br
%br
#dossier
=menu_item_link(MenuItem.find(282))
%br
%br
=menu_item_link(MenuItem.find(116))
%br
%br
=menu_item_link(MenuItem.find(114))
%br
%br
=menu_item_link(MenuItem.find(117))
%br
%br
=menu_item_link(MenuItem.find(298))
%br
%br
=menu_item_link(MenuItem.find(325))
%br
%br
=image_tag('style/une.gif', :style => "width:497px;")
#contenu{:style => ("margin-left:260px;float:none;width:auto;padding-right:201px;background:url('/images/style/fond.png') repeat-y top right" if @accueil).to_s}
-if flash[:notice]
#flash_notice
=raw flash[:notice]
-if flash[:error]
#flash_error
=raw flash[:error]
= yield :body
= yield
%p{:style => "clear:both;"}
%br
#bottom
=link_to image_tag("style/frontend/cms/logo_bot.jpg", :id => "bot"), "/"
#bot_info
Mairie : 04 76 06 00 11 © Mairie de St Etienne de Crossey - Tous droits réservés -
=menu_item_link(MenuItem.find(3))