Sha256: 84118de0894fbc4159439aa83aabf0a88ffd810204b3a82f9363548c6f317159

Contents?: true

Size: 840 Bytes

Versions: 7

Compression:

Stored size: 840 Bytes

Contents

!!!
%html{lang: I18n.locale}
  %head
    %meta{charset: 'utf-8'}
    %title= @title
    %link{href: '/favicon.ico', rel: 'icon', type: 'image/x-icon'}
    - (['bhf/application'] + Bhf::Engine.config.css.to_a).each do |css|
      = stylesheet_link_tag css
    = javascript_include_tag 'bhf/application'

  %body
    %header
      %h1= link_to image_tag(asset_path('logo_bhf.png')), root_url
      - 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/user'
      = render 'bhf/footer'

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bhf-0.5.8 app/views/layouts/bhf/application.haml
bhf-0.5.7 app/views/layouts/bhf/application.haml
bhf-0.5.6 app/views/layouts/bhf/application.haml
bhf-0.5.5 app/views/layouts/bhf/application.haml
bhf-0.5.4 app/views/layouts/bhf/application.haml
bhf-0.5.3 app/views/layouts/bhf/application.haml
bhf-0.5.2 app/views/layouts/bhf/application.haml