!!!
%html{:lang => I18n.locale}
%head
%meta{:charset => 'utf-8'}
%title= @title
= csrf_meta_tag
%link{:href => '/favicon.ico', :rel => 'icon', :type => 'image/x-icon'}
= stylesheet_link_tag(['bhf'] + Bhf::Engine.config.css.to_a)
= javascript_include_tag 'bhf'
=# javascript_include_tag 'mootools-core-1.3-full-nocompat-yc.js', 'mootools-more', 'mootools_rails_driver-0.4.1.js', 'class/BrowserUpdate', 'class/Ajaxify', 'class/AjaxEdit', 'class/MooEditable', 'bhf_application'
%body
%header
-# TODO: logo as css bg for better cache and no jumping?
%h1= image_tag 'logo_bhf.png'
- if @config && @config.pages.any?
%nav
%ul
- @config.pages.each do |page|
%li{:class => ('active' if @page == page)}
= link_to t("bhf.pages.navigation.#{page}", :default => page.capitalize), bhf_page_path(page)
#content
#main
= render :partial => 'bhf/helper/flash', :locals => {:flash => flash}
= yield
%footer= render 'bhf/footer'