tdg_rocks/accounts/templates/registration/login.html

18 lines
464 B
HTML

{% extends 'base.html' %}
{% block content %}
<div>
<h1>Login</h1>
{% if form.errors %}
<p>The username and password combination entered did not match an active account.</p>
{% endif %}
<form method="post">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="Login"/>
<a href="{% url 'core:homepage' %}">Cancel</a>
</form>
</div>
{% endblock %}