pic_vert_app/app/views/layouts/connexion.html.haml

44 lines
731 B
Plaintext

!!!
%html{:xmlns=>"http://www.w3.org/1999/xhtml", :"xml:lang"=>"fr", :lang=>"fr"}
%head
%meta{:"http-equiv" => "content-type" ,:content =>"text/html;charset=UTF-8" }
%title
Administration
= csrf_meta_tag
=javascript_include_tag "https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"
=javascript_include_tag "connexion"
= stylesheet_link_tag 'connexion'
%body
#title=yield :title
#main
= yield
#flash
-if flash[:alert] or (@flash_i and @flash_i[:alert])
.message.closeable.alert
= flash[:alert]
= @flash_i[:alert] if @flash_i and @flash_i[:alert]
-if flash[:notice]
.message.closeable.notice
= flash[:notice]