{% extends "shop/base.html" %} {% load i18n %} {% block navbar %}
  • {% trans "Home" %}
  • {% endblock %} {% block content %} {% if form.non_field_errors %}

    {% for err in form.non_field_errors %}{{ err }}{% if not forloop.last %}
    {% endif %} {% endfor %}

    {% endif %}
    {% csrf_token %} {% if form.username.errors %}{% endif %} {% if form.password.errors %}{% endif %}
    {{ form.username }}
    ***{{ form.username.errors|join:", " }}
    {{ form.password }}
    ***{{ form.password.errors|join:", " }}
    {% else %} {% url satchmo_account_info as accounturl %} {% if accounturl %} value="{% url satchmo_account_info %}" /> {% endif %} {% endif %}
    {% comment %} We jump through hoops with the urls so it doesn't bomb with django's built in unit tests.{% endcomment %} {% url registration_register as registration_register %} {% url auth_password_reset as auth_password_reset %} {% if registration_register %}

    {% trans "If you do not have an account, please" %} {% trans "click here" %}.

    {% endif %} {% if auth_password_reset %}

    {% trans "If you do not remember your password, please" %} {% trans "click here to have it reset." %}

    {% endif %} {% endblock %}