{% 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 action_url %} {% #form form=form url=action_url button_text=heading %} {% if form.remember %}
{% endif %} {{ redirect_field }} {% csrf_token %}
{% trans "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 %}