1
1
Files
financeplanner/core/templates/registration/login.html
2021-01-20 00:05:12 +01:00

23 lines
757 B
HTML

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