You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
497 B
15 lines
497 B
{% extends "layout.html" %} |
|
{% block body %} |
|
<h2>Login</h2> |
|
{% if error %}<p class="error"><strong>Error:</strong> {{ error }}{% endif %} |
|
<form action="{{ url_for('login') }}" method="post"> |
|
<dl> |
|
<dt>Username: |
|
<dd><input type="text" name="username"> |
|
<dt>Password: |
|
<dd><input type="password" name="password"> |
|
<input name="_csrf_token" type="hidden" value="{{ csrf_token() }}"> |
|
<dd><input type="submit" value="Login"> |
|
</dl> |
|
</form> |
|
{% endblock %}
|
|
|