title: Login form in header Node.js Jade template
body: <p>I have a Jade file called <code>header.jade</code>, with a mini login form which is included to all views, what is route concept for getting this post?</p>
  
  <pre><code>header
      nav(class="navbar navbar-default" role="navigation")
          .navbar-header
              button(type="button" class="navbar-toggle" data-toggle="collapse"  data-target=".navbar-ex1-collapse")
                  span(class="sr-only") Toggle navigation
                  span(class="icon-bar")
                  span(class="icon-bar")
                  span(class="icon-bar")
                  a(class="navbar-brand") mailMessenger
          form(action="/login", method="post" class="form-inline minilogin" role="form")
                  .form-group
                      label(class="sr-only" for="exampleInputEmail2") Username
                      input(type="text", name="username" class="form-control" id="exampleInputEmail2" placeholder="username")
                  .form-group
                      label(class="sr-only" for="exampleInputEmail2") password
                      input(type="text", name="password" class="form-control" id="exampleInputEmail2" placeholder="password")
                  .checkbox
                      label
                          input(type="checkbox")
                          | Remember me
                      button(type="submit" class="btn btn-default") Sign in
  </code></pre>