generated from 2martens/django-template
Renamed app and Django template
This commit is contained in:
17
food_planner/templates/registration/password_reset_form.html
Normal file
17
food_planner/templates/registration/password_reset_form.html
Normal file
@ -0,0 +1,17 @@
|
||||
{% extends "food_planner/base.html" %}
|
||||
{% load i18n %}
|
||||
{% load crispy_forms_tags %}
|
||||
|
||||
{% block title %}{{ site.title }} - {{ title }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>{{ title }}</h1>
|
||||
|
||||
<p>{% trans 'Forgotten your password? Enter your email address below, and we’ll email instructions for setting a new one.' %}</p>
|
||||
|
||||
<form method="post" action="{% url "password_reset" %}">
|
||||
{% csrf_token %}
|
||||
{{ form|crispy }}
|
||||
<button type="submit" class="btn btn-primary">{% trans "Password reset" %}</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user