{% extends "registration/registration_base.html" %}
{% load i18n %}

{% block registration_title %}{% trans "Reset password" %}{% endblock %}

{% block registration_content %}
<p>
    Forgot your password? Enter your TreesCount! username or email address and click the "Reset" button below.
</p>
<form method="post" action="">
    {% csrf_token %}

    {{ form.non_field_errors }}

    <p>
        {{ form.email_or_username.errors }}
        {{ form.email_or_username.label_tag }}
        {{ form.email_or_username|add_class:"form-control" }}
    </p>
    <input class="btn btn-primary btn-mobile--max" type="submit" value="{% trans 'Reset password' %}" />
</form>
{% endblock %}


{# This is used by django.contrib.auth #}

{% extends "registration/registration_base.html" %}
{% load i18n %}
{% load widget_tweaks %}

{% block registration_title %}{% trans "Reset password" %}{% endblock %}

{% block registration_content %}
<p>
    Forgot your password? Enter your TreesCount! username or email address and click the "Reset" button below.
</p>
<form method="post" action="">
    {% csrf_token %}

    {{ form.non_field_errors }}

    <p>
        {{ form.email_or_username.errors }}
        {{ form.email_or_username.label_tag }}
        {{ form.email_or_username|add_class:"form-control" }}
    </p>
    <input class="btn btn-primary btn-mobile--max" type="submit" value="{% trans 'Reset password' %}" />
</form>
{% endblock %}


{# This is used by django.contrib.auth #}

Load templatetag library for 'add_class'
Load templatetag library for 'add_class'

Fixes #1040
