1

我有一个名为 的 Jade 文件header.jade,其中包含一个包含在所有视图中的迷你登录表单,获取此帖子的路线概念是什么?

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
4

0 回答 0