]>
Commit | Line | Data |
---|---|---|
1 | {% extends "base.html" %} | |
2 | ||
3 | {% block title %} | |
4 | {{ title }} | |
5 | {% endblock %} | |
6 | ||
7 | {% block content %} | |
8 | {% include 'flash.html' %} | |
9 | <div class="container"> | |
10 | <div class="login-register-page"> | |
11 | <div class="well"> | |
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") }} | |
19 | </form> | |
20 | <p class="center"><a class="href" href="{{url_for('resetpwd')}}">[Forgot password]</a> | <a class="href" href="{{url_for('register')}}">[Register]</a></p> | |
21 | </div> | |
22 | </div> | |
23 | </div> <!-- /container --> | |
24 | {% endblock %} |