Sha256: e5cbba42b0006357a0270fdbe0767109b9596b24803cee20387e934e12290005
Contents?: true
Size: 1.05 KB
Versions: 1
Compression:
Stored size: 1.05 KB
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 %body %header %h1 - logo = Rails.application.assets.find_asset('logo_bhf.png') ? 'logo_bhf.png' : 'logo_bhf.svg' = link_to image_tag(asset_path(logo)), main_app.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), page_path(page) #content #main = render partial: 'bhf/helper/flash', locals: {flash: flash} = yield %footer = render 'bhf/user' = render 'bhf/footer' - (['bhf/application'] + Bhf::Engine.config.js.to_a).each do |js| = javascript_include_tag js, {:'data-turbolinks-eval' => false}
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bhf-0.6.21 | app/views/layouts/bhf/application.haml |