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 'foodsoft'
|
2009-10-17 18:42:07 +02:00
|
|
|
= javascript_include_tag 'prototype'
|
|
|
|
= yield(:head)
|
2009-01-06 11:49:19 +01:00
|
|
|
%body
|
|
|
|
#login
|
|
|
|
- if yield(:title)
|
|
|
|
%h1= yield(:title)
|
|
|
|
= yield
|
|
|
|
#meta
|
|
|
|
Foodcoop
|
2009-03-24 17:25:33 +01:00
|
|
|
= link_to_if Foodsoft.config[:homepage], Foodsoft.config[:name], Foodsoft.config[:homepage]
|