民间, 以下代码似乎没有正确提交表单。请更正
block main
.container
form.form-signin(name='signin', action='/auth' method='post')
h2.form-signin-heading Please sign in
input.form-control(type='text', placeholder='Email address', autofocus='autofocus', id='username')
input.form-control(type='password', placeholder='Password', id='password')
label.checkbox
input(type='checkbox', value='remember-me')
| Remember me
button.btn.btn-lg.btn-primary.btn-block(type='submit') Sign in
答案 0 :(得分:0)
已修复,未创建
.container
form.form-signin(action='/auth' method='post')
h2.form-signin-heading Please sign in
input.form-control(type='text', placeholder='Email address', autofocus='autofocus', name='username')
input.form-control(type='password', placeholder='Password', name='password')
label.checkbox
input(type='checkbox', value='remember-me')
| Remember me
button.btn.btn-lg.btn-primary.btn-block(type='submit',name='submit') Sign in