examples/tutorial/flaskr/templates/auth/login.html
raw| 1 | {% extends 'base.html' %} |
| 2 | |
| 3 | {% block header %} |
| 4 | <h1>{% block title %}Log In{% endblock %}</h1> |
| 5 | {% endblock %} |
| 6 | |
| 7 | {% block content %} |
| 8 | <form method="post"> |
| 9 | <label for="username">Username</label> |
| 10 | <input name="username" id="username" required> |
| 11 | <label for="password">Password</label> |
| 12 | <input type="password" name="password" id="password" required> |
| 13 | <input type="submit" value="Log In"> |
| 14 | </form> |
| 15 | {% endblock %} |