Sha256: 1222a32f692244376afcbc37afebb0a40a6e7166d09e6c34104f7111d588a291

Contents?: true

Size: 821 Bytes

Versions: 2

Compression:

Stored size: 821 Bytes

Contents

!!!
%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'
    = 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', 'bhf_application'
    
  %body
    %header
      %h1= @title
      %nav
        %ul
          - @config.pages.each do |page|
            %li{:class => ('active' if @page == page)}
              = link_to page, bhf_page_path(page)

    #content
      #main
        = render :partial => 'bhf/helper/flash', :locals => {:flash => flash}
        = yield

    %footer= render 'bhf/footer'
    

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bhf-0.1.3 app/views/layouts/bhf/default.haml
bhf-0.1.2 app/views/layouts/bhf/default.haml