foodsoft/app/views/layouts/login.haml
Benjamin Meichsner 0b6b5eb0b5 Improved noscript warning on login page.
Also add 'foodsoft' to title. closes #48
2009-10-17 18:42:07 +02:00

16 lines
485 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 'foodsoft'
= javascript_include_tag 'prototype'
= yield(:head)
%body
#login
- if yield(:title)
%h1= yield(:title)
= yield
#meta
Foodcoop
= link_to_if Foodsoft.config[:homepage], Foodsoft.config[:name], Foodsoft.config[:homepage]