title: Bootstrap NavBar Hamburger Menu not working on Mobile
body: <p>When I make the window smaller on my mac the hamburger menu appears but on mobile it does not. The navbar just becomes very unformatted. Any kind of help will be much appreciated. Thanks!</p>
  
  <pre><code>    &lt;nav class="navbar navbar-inverse"&gt;
    &lt;div class="container"&gt;
      &lt;div class = "row"&gt;
        &lt;div class="navbar-header"&gt;
          &lt;button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false"&gt;
            &lt;span class="sr-only"&gt;Toggle navigation&lt;/span&gt;
            &lt;span class="icon-bar"&gt;&lt;/span&gt;
          &lt;/button&gt;
        &lt;/div&gt;
        &lt;div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"&gt;
          &lt;ul class="nav navbar-nav"&gt;
            &lt;li&gt;&lt;%= link_to "HomePage", listings_path %&gt;&lt;/li&gt;
            &lt;li&gt;&lt;%= link_to "Reviews", reviews_path %&gt; &lt;/li&gt;
            &lt;li&gt;&lt;%= link_to "My Personal Listings", mylistings_path %&gt;&lt;/li&gt;
            &lt;li class="dropdown"&gt;
              &lt;a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"&gt;Admin&lt;span class="caret"&gt;&lt;/span&gt;&lt;/a&gt;
                &lt;ul class="dropdown-menu"&gt;
                  &lt;%if user_signed_in? &amp;&amp; current_user.admin? %&gt;
                    &lt;li&gt;&lt;%= link_to "Admin Page", users_path %&gt;&lt;/li&gt;
                    &lt;li&gt;&lt;%= link_to "Add a Personal Listing", new_mylisting_path %&gt;&lt;/li&gt;
                  &lt;%end%&gt;
                &lt;/ul&gt;
              &lt;/li&gt;
                &lt;li class="dropdown"&gt;
                  &lt;a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"&gt;Your Account &lt;span class="caret"&gt;&lt;/span&gt;&lt;/a&gt;
                    &lt;ul class="dropdown-menu"&gt;
                      &lt;li&gt;&lt;%= link_to 'Sign In', new_user_session_path %&gt;&lt;/li&gt;
                      &lt;li&gt;&lt;%= link_to 'Sign Up', new_user_registration_path %&gt;&lt;/li&gt;
                      &lt;li&gt;&lt;%= link_to('Sign Out', destroy_user_session_path, :method =&gt; :delete) %&gt;&lt;/li&gt;
                    &lt;/ul&gt;
                  &lt;/li&gt;
                  &lt;li class="dropdown"&gt;
                    &lt;a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"&gt;Additional Resources&lt;span class="caret"&gt;&lt;/span&gt;&lt;/a&gt;
                    &lt;ul class="dropdown-menu"&gt;
                      &lt;li&gt;&lt;%= link_to 'Zillow', "http://www.zillow.com/", :target =&gt; "_blank"%&gt;&lt;/li&gt;
                      &lt;li&gt;&lt;%= link_to 'Realtor.com', "https://www.realtor.com/", :target =&gt; "_blank"%&gt;&lt;/li&gt;
                      &lt;li&gt;&lt;%= link_to "Multiple Listing Service", "http://www.mls.com/", :target =&gt; "_blank"%&gt;&lt;/li&gt;
                      &lt;li&gt;&lt;%= link_to 'Trulia', "https://www.trulia.com/", :target =&gt; "_blank"%&gt;&lt;/li&gt;
                      &lt;li&gt;&lt;%= link_to 'Redfin', "https://www.redfin.com/", :target =&gt; "_blank"%&gt;&lt;/li&gt;
                      &lt;/ul&gt;
                      &lt;/li&gt;
                    &lt;/ul&gt;
            &lt;/div&gt;
          &lt;/div&gt;
        &lt;/div&gt;
    &lt;/nav&gt;
  </code></pre>