{% extends "account/login.html" %} {% load i18n %} {% load allauth_ui %} {% load widget_tweaks %} {% block content %} {% trans "Sign In" as heading %} {% #container heading=heading %} {% if not SOCIALACCOUNT_ONLY %}
{% blocktranslate %}If you have not created an account yet, then please sign up first.{% endblocktranslate %}
{% url 'account_login' as login_url %} {% #form form=form url=url button_text=heading %}
{{ redirect_field }} {% csrf_token %}
Forgot password?
{% /form %} {% endif %} {% if LOGIN_BY_CODE_ENABLED %}
{% trans "Mail me a sign-in code" %} {% endif %} {% if SOCIALACCOUNT_ENABLED %} {% include "socialaccount/snippets/login.html" with page_layout="entrance" %} {% endif %} {% /container %} {% endblock content %}