%header.contain-to-grid
  - if staging_users_should_be_warned
    .alert-box.alert.text-center
      %h3
        = raw t('modules.common.topbar.test_environment_warning')
        %a.close{href: "#"}×
  %nav.top-bar{ data: { topbar: true } }

    %ul.left
      %li.sidebar-toggle
        %a.left-off-canvas-toggle
          %span
            %i.fa.fa-bars

    %ul.title-area
      %li.name
        = image_tag asset_path("logo/hacken_in-32-white.png"), class: "hacken-logo"
        %h1
          = link_to 'hacken.in', :root

    %section.top-bar-section
      - if current_region.present?
        %ul.right.show-for-medium-up
          = form_tag search_path(region: current_region), :method => 'get' do
            %li.search-form
              .row
                .search-field
                  = text_field_tag :search, params[:search], placeholder: t('modules.common.topbar.search_form.field_placeholder')
                .search-button
                  %a.button{href: "#"}= t('modules.common.topbar.search_form.button')
        %ul.right.show-for-small-only
          %li.search-icon
            %a{href: search_path(region: current_region)}
              %i.fa.fa-search



%header.contain-to-grid
  - if staging_users_should_be_warned
    .alert-box.alert.text-center
      %h3
        = raw t('modules.common.topbar.test_environment_warning')
        %a.close{href: "#"}×
  %nav.top-bar{ data: { topbar: true } }

    %ul.left
      %li.sidebar-toggle
        %a.left-off-canvas-toggle
          %span
            %i.fa.fa-bars

    %ul.title-area
      %li.name
        = image_tag asset_path("logo/hacken_in-32-white.png"), class: "hacken-logo"
        %h1
          = link_to 'hacken.in', :root

    %section.top-bar-section
      %ul.left
        %li.has-dropdown
          = link_to "Berlin", "#"
          = link_to "Koeln", "#"
          = link_to "Muenchen", "#"
      - if current_region.present?
        %ul.right.show-for-medium-up
          = form_tag search_path(region: current_region), :method => 'get' do
            %li.search-form
              .row
                .search-field
                  = text_field_tag :search, params[:search], placeholder: t('modules.common.topbar.search_form.field_placeholder')
                .search-button
                  %a.button{href: "#"}= t('modules.common.topbar.search_form.button')
        %ul.right.show-for-small-only
          %li.search-icon
            %a{href: search_path(region: current_region)}
              %i.fa.fa-search



Add dropdown for choosing another city
Add dropdown for choosing another city
