foodsoft/app/views/layouts/login.html.haml

20 lines
601 B
Plaintext
Raw Normal View History

2009-01-06 11:49:19 +01:00
!!!
%html
%head
%meta{"http-equiv" => "content-type", :content => "text/html;charset=UTF-8"}
%title= "FoodSoft - " + (yield(:title) or controller.controller_name)
= stylesheet_link_tag 'application'
= javascript_include_tag 'application'
= csrf_meta_tags
= yield(:head)
2009-01-06 11:49:19 +01:00
%body
#login
- if yield(:title)
%h1= yield(:title)
- flash.each do |name, msg|
= content_tag :div, msg, :class => "flash #{name}"
2009-01-06 11:49:19 +01:00
= yield
#meta
Foodcoop
= link_to_if FoodsoftConfig[:homepage], FoodsoftConfig[:name], FoodsoftConfig[:homepage]