app/views/layouts/bhf/application.haml in bhf-0.6.32 vs app/views/layouts/bhf/application.haml in bhf-0.7.0.rc1
- old
+ new
@@ -6,12 +6,17 @@
%link{href: "/favicon.ico?#{@app_title.to_s.downcase}", 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 @areas.any?
+ = select_tag :area_select, options_from_collection_for_select(@areas, 'path', 'name', main_app.bhf_path(params[:bhf_area]))
+
- if @config && @config.pages.any?
%nav
%ul{class: ('shrink_space' if @config.pages.count > 7)}
- @config.pages.each do |page|
%li{class: ('active' if @page == page)}