Sha256: bfd60fc38fe69835ba465da62c275edb237b4da13b038c518974f706ecbdc063

Contents?: true

Size: 828 Bytes

Versions: 36

Compression:

Stored size: 828 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('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

36 entries across 36 versions & 1 rubygems

Version Path
bhf-0.5.1 app/views/layouts/bhf/application.haml
bhf-0.5.0 app/views/layouts/bhf/application.haml
bhf-0.4.36 app/views/layouts/bhf/application.haml
bhf-0.4.35 app/views/layouts/bhf/application.haml
bhf-0.4.34 app/views/layouts/bhf/application.haml
bhf-0.4.33 app/views/layouts/bhf/application.haml
bhf-0.4.32 app/views/layouts/bhf/application.haml
bhf-0.4.31 app/views/layouts/bhf/application.haml
bhf-0.4.30 app/views/layouts/bhf/application.haml
bhf-0.4.25 app/views/layouts/bhf/application.haml
bhf-0.4.24 app/views/layouts/bhf/application.haml
bhf-0.4.23 app/views/layouts/bhf/application.haml
bhf-0.4.22 app/views/layouts/bhf/application.haml
bhf-0.4.21 app/views/layouts/bhf/application.haml
bhf-0.4.20 app/views/layouts/bhf/application.haml
bhf-0.4.19 app/views/layouts/bhf/application.haml
bhf-0.4.18 app/views/layouts/bhf/application.haml
bhf-0.4.17 app/views/layouts/bhf/application.haml
bhf-0.4.16 app/views/layouts/bhf/application.haml
bhf-0.4.15 app/views/layouts/bhf/application.haml