- <form class="navbar-search pull-left" action="/search" method="get">
- <input type="text" class="search-query" name="q" placeholder="Search" value="{{query}}"/>
- </form>
+ <button class="btn btn-navbar btn-inverse pull-right" data-toggle="collapse" data-target=".nav-collapse">
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ </li>
+ {% endif %}
+ {% if identity %}
+ <li>
+ <a href="login?logout">Logout</a>
+ </li>
+ {% else %}
+ <li>
+ <a href="login">Login</a>