.navbar.navbar-default .container %button.navbar-toggle{ type: "button", 'data-toggle': "collapse", 'data-target': ".navbar-responsive-collapse" } %span.icon-bar %span.icon-bar %span.icon-bar %a.navbar-brand{ href: "/rails_voter" } Rails Voter .navbar-collapse.collapse.navbar-responsive-collapse %ul.nav.navbar-nav %li= link_to "position 1", "#" %li= link_to "position 2", "#"