food-planner/app/templates/registration/login.html

18 lines
541 B
HTML

{% extends "app/base.html" %}
{% load i18n %}
{% load crispy_forms_tags %}
{% block title %}{{ site.title }} - {{ title }}{% endblock %}
{% block content %}
<h1>{{ title }}</h1>
<form method="post" action="{% url "login" %}">
{% csrf_token %}
{{ form|crispy }}
<input type="hidden" name="next" value="{{ next }}" />
<button type="submit" class="btn btn-primary">{% trans "Login" %}</button>
<a href="{% url "password_reset" %}">{% trans "Forgot password?" %}</a>
</form>
{% endblock %}