18 lines
624 B
Text
18 lines
624 B
Text
!!!
|
|
%html
|
|
%head
|
|
%meta{"http-equiv" => "content-type", :content => "text/html;charset=UTF-8"}
|
|
%title= "FoodSoft - " + (yield(:title) or controller.controller_name)
|
|
= stylesheet_link_tag 'main', 'rails_messages', 'nav', :cache => "all_cached"
|
|
= javascript_include_tag 'jquery.min'
|
|
= yield(:head)
|
|
%body
|
|
#login
|
|
- if yield(:title)
|
|
%h1= yield(:title)
|
|
- flash.each do |name, msg|
|
|
= content_tag :div, msg, :class => "flash #{name}"
|
|
= yield
|
|
#meta
|
|
Foodcoop
|
|
= link_to_if Foodsoft.config[:homepage], Foodsoft.config[:name], Foodsoft.config[:homepage]
|