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=
"/login">
13 <h3 class=
"form-signin-heading center">Please sign in
</h3>
14 {{ form.hidden_tag() }}
15 {{ wtf.form_field(form.username,
placeholder=
"Username") }}
16 {{ wtf.form_field(form.password,
placeholder=
"Password") }}
17 {{ wtf.form_field(form.remember_me) }}
18 {{ wtf.form_field(form.submit_btn,
class=
"btn btn-lg btn-primary btn-block") }}
20 <p class=
"center"><a class=
"href" href=
"{{url_for('resetpwd')}}">[Forgot password]
</a> |
<a class=
"href" href=
"{{url_for('register')}}">[Register]
</a></p>
23 </div> <!-- /container -->