!!!
%html{:lang => 'en'}
  %head
    %title= [yield(:title), t('.title')].reject(&:blank?).join(' - ')
    = csrf_meta_tags
    = stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload'
    %meta{:charset => 'utf-8'}/
    %meta{:content => 'width=device-width, initial-scale=1, shrink-to-fit=no', :name => 'viewport'}/
    %meta{:content => t('.description'), :name => 'description'}/
    %meta{:content => t('.author'), :name => 'author'}/
    %link{:href => '/favicon.ico', :rel => 'icon'}/

  %body
    = render '/layouts/top_navigation'
    .container-fluid
      .row
        %nav.col-sm-3.col-md-2.hidden-xs-down.bg-faded.sidebar
          = render '/layouts/side_navigation'
        %main.col-sm-9.offset-sm-3.col-md-10.offset-md-2.pt-3
          = render '/shared/filter_configurator'
          %h1= yield(:title).presence || t('.title')
          = yield

    = javascript_include_tag '//www.google.com/jsapi', 'chartkick'
    = javascript_include_tag 'application', 'data-turbolinks-track': 'reload'
    = yield :javascript

!!!
%html{:lang => 'en'}
  %head
    %title= [yield(:title), t('.title')].reject(&:blank?).join(' - ')
    = csrf_meta_tags
    = stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload'
    %meta{:charset => 'utf-8'}/
    %meta{:content => 'width=device-width, initial-scale=1, shrink-to-fit=no', :name => 'viewport'}/
    %meta{:content => t('.description'), :name => 'description'}/
    %meta{:content => t('.author'), :name => 'author'}/
    %link{:href => '/favicon.ico', :rel => 'icon'}/

  %body
    = render '/layouts/top_navigation'
    .container-fluid
      .row
        %nav.col-sm-3.col-md-2.hidden-xs-down.bg-faded.sidebar
          = render '/layouts/side_navigation'
        %main.col-sm-9.offset-sm-3.col-md-10.offset-md-2.pt-3
          - if %w[ships pilots ship_combos].include?(params[:controller]) && params[:action] == 'index'
            = render '/shared/filter_configurator'
          %h1= yield(:title).presence || t('.title')
          = yield

    = javascript_include_tag '//www.google.com/jsapi', 'chartkick'
    = javascript_include_tag 'application', 'data-turbolinks-track': 'reload'
    = yield :javascript

Hide filter for everything except lists of ships, combos, pilots
Hide filter for everything except lists of ships, combos, pilots
