Fixed language and flash divs.

This commit is contained in:
benni 2011-05-11 17:41:43 +02:00
parent 2eb714b603
commit 197516b7fc
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
%h1= t('.title')
- title t('.title')
#start_nav
= render :partial => 'start_nav'

View File

@ -23,7 +23,7 @@
#main
#content
- flash.each do |name, msg|
= content_tag :div, msg, :id => "flash#{name.to_s.camelize}", :class => "flash #{name}"
= content_tag :h3, msg, :id => "flash#{name.to_s.camelize}", :class => "flash #{name}"
#loader{:style => "display:none;"}= image_tag("loader.gif", :border => 0)
- if show_title?
%h1= yield(:title)

View File

@ -28,7 +28,7 @@ module Foodsoft
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
# config.i18n.default_locale = :de
config.i18n.default_locale = :de
# JavaScript files you want as :defaults (application.js is always included).
# config.action_view.javascript_expansions[:defaults] = %w(jquery rails)