1 {% extends
"base.html" %}
8 {% include 'flash.html' %}
9 <div class=
"container">
10 <div class=
"login-register-page">
12 <form class=
"form-signin" method=
"POST" action=
"">
13 <h3 class=
"form-signin-heading center">Please sign in
</h3>
14 {{ form.hidden_tag() }}
15 {{ wtf.form_field(form.username,
placeholder=
"Username",
autofocus=
"autofocus") }}
16 {{ wtf.form_field(form.password,
placeholder=
"Password") }}
17 {{ wtf.form_field(form.login,
class=
"btn btn-lg btn-primary btn-block") }}
19 <p class=
"center"><a class=
"href" href=
"{{url_for('resetpwd')}}">[Forgot password]
</a> |
<a class=
"href" href=
"{{url_for('register')}}">[Register]
</a></p>
22 </div> <!-- /container -->