{% extends 'base.html' %} {% load i18n %} {% load mtp_common %} {% load widget_tweaks %} {% block page_title %}{% trans 'Sign in' %} – {{ block.super }}{% endblock %} {% block inner_content %}

{% block auth_title %}{% trans 'Send money to someone in prison' %}{% endblock %} {% trans 'Sign in' %}

{% include 'mtp_common/forms/error-summary.html' with form=form only %}
{% csrf_token %} {% for field in form %}
{% include 'mtp_common/forms/field-label.html' with field=field only %} {% include 'mtp_common/forms/field-errors.html' with field=field only %} {{ field|attr:'autocomplete:off'|add_class:'form-control'|add_error_class:'form-control-error' }}
{% endfor %}
{% if ENVIRONMENT != 'test' %} {% url 'reset_password' as reset_password_url %} {% if reset_password_url %}

{% trans 'Forgotten your password?' %}

{% endif %} {% endif %}
{% endblock %}