{% extends 'accounts/base.html' %} {% block title %}LogIn{% endblock title %} {% block content %}
{% if form.errors %}
{{form.errors.username}}
{{form.errors.password}}
{% if '__all__' in form.errors %}
Invalid username and/or password.
{% endif %}
{% endif %} {% if messages %} {% for msg in messages %}
{{msg}}
{% endfor %} {% endif %}

Log In

{% csrf_token %}

{{ form.username.label }} {{ form.username }}

{{ form.password.label }} {{ form.password }}

Don't have an account? SignUp.

{% if ALLOW_PASSWORD_RESET %}

Forgot password? Reset Password.

{% endif %} {% if ALLOW_VERIFICATION %}

Did not receive account verification email or verification link expired? Resend verification email.

{% endif %}
{% endblock content %} {% block scripts %} {% endblock scripts %}