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)
|
2012-09-30 21:15:55 +02:00
|
|
|
= stylesheet_link_tag 'application'
|
|
|
|
= javascript_include_tag 'application'
|
|
|
|
= csrf_meta_tags
|
2009-10-17 18:42:07 +02:00
|
|
|
= yield(:head)
|
2009-01-06 11:49:19 +01:00
|
|
|
%body
|
|
|
|
#login
|
|
|
|
- if yield(:title)
|
|
|
|
%h1= yield(:title)
|
2011-05-11 13:38:46 +02:00
|
|
|
- flash.each do |name, msg|
|
|
|
|
= content_tag :div, msg, :class => "flash #{name}"
|
2009-01-06 11:49:19 +01:00
|
|
|
= yield
|
|
|
|
#meta
|
|
|
|
Foodcoop
|
2012-08-24 19:52:38 +02:00
|
|
|
= link_to_if FoodsoftConfig[:homepage], FoodsoftConfig[:name], FoodsoftConfig[:homepage]
|