15 lines
470 B
HTML
15 lines
470 B
HTML
{% extends "layout/base.html" %}
|
|
{% block content %}
|
|
{% if form.errors %}
|
|
<p>Your username and password did not match. Please try again.</p>
|
|
{% endif %}
|
|
<p>
|
|
<form method="POST" action="{% url 'frontend-login' %}">
|
|
{% csrf_token %}
|
|
{{form.username.label_tag}} {{form.username}}<br>
|
|
{{form.password.label_tag}} {{form.password}}
|
|
<input type="submit" value="login" />
|
|
<input type="hidden" name="next" value="{{next}}" />
|
|
</form>
|
|
</p>
|
|
{% endblock %} |