navbar toggle not showing

Toggle navigation

Although I have this code in my view the 3 bars don’t show when the screen is small

From code you provided I assume you’re using Bootstrap 3.

Do you have this inside

element? There’s a working example in Bootstrap’s documentation - https://getbootstrap.com/docs/3.3/components/#navbar.

Do you have

element as sibling of navbar-header?