.navbar.navbar-default.navbar-static-top{ role: 'navigation', style: 'margin-bottom: 0' } .navbar-header %button.navbar-toggle.collapsed{ 'type' => 'button', 'data-toggle' => 'collapse', 'data-target' => '.navbar-collapse' } %span.sr-only Toggle navigation %span.icon-bar %span.icon-bar %span.icon-bar %span.navbar-brand %a{ href: "#{settings.map_path}" } ProxES -if authenticated? %form.nav.navbar-top-links.navbar-form.navbar-right{ action: "#{settings.map_path}/auth/identity", method: 'post' } %a.btn.btn-default{ href: "#{settings.map_path}/users/profile" } My Account %input{ name: '_method', value: 'DELETE', type: 'hidden' } %button.btn.btn-default{ type: 'submit' } / %i.ti-panel Logout - else %ul.nav.navbar-top-links.navbar-right %li %a.btn.btn-link{ href: "#{settings.map_path}/auth/identity" } Log In .navbar-default.sidebar{ role: 'navigation' } = haml :'partials/sidebar'