1
1
Files
financeplanner/core/templates/registration/login.html
2021-01-18 20:29:06 +01:00

23 lines
672 B
HTML

{% extends "core/base.html" %}
{% block navi %}
<a href="{% url 'admin:index' %}">admin</a>
{% endblock %}
{% block content %}
<form method="post" action="{% url 'login' %}">
{% csrf_token %}
<label for="username"></label>
<input id="username" name="username" type="text" placeholder="username">
<label for="password">password</label>
<input id="password" name="password" type="password" placeholder="password">
<input type="submit" value="login"/>
<input type="hidden" name="next" value="{{ next }}"/>
{% if form.errors %}
<p>nope.</p>
{% endif %}
</form>
{% endblock %}