Sha256: e500933d1f04c0c83261b2f9590c2912a372e8e694dd61e75e83f783c909f115

Contents?: true

Size: 988 Bytes

Versions: 6

Compression:

Stored size: 988 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
    - (['bhf/application'] + Bhf::Engine.config.js.to_a).each do |js|
      = javascript_include_tag js, {:'data-turbolinks-eval' => false}

  %body
    %header
      %h1= link_to image_tag(asset_path('logo_bhf.png')), root_url, :'data-no-turbolink' => true
      - 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'

    =# yield :js_inject

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bhf-0.6.6 app/views/layouts/bhf/application.haml
bhf-0.6.5 app/views/layouts/bhf/application.haml
bhf-0.6.4 app/views/layouts/bhf/application.haml
bhf-0.6.3 app/views/layouts/bhf/application.haml
bhf-0.6.2 app/views/layouts/bhf/application.haml
bhf-0.6.1 app/views/layouts/bhf/application.haml