2023-01-21 14:15:36 -07:00

23 lines
637 B
HTML
Executable File

{% extends 'base.html' %}
{% block content %}
<article class="panel">
<h1>Log in</h1>
{% if form.errors %}
<p class="error">Your username and password didn't match. Please try again.</p>
{% endif %}
<form method="post" action="{% url 'account_login' %}">
{% csrf_token %}
{{ form.as_p }}
<p>
<small><a href="{% url 'account_reset_password' %}">Forgot your password?</a></small>
</p>
<p>
<input type="submit" value="Login" class="btn">
<input type="hidden" name="next" value="{{ next }}">
</p>
</form>
</article>
{% endblock %}