{% raw %} {% extends "account/base.html" %} {% load i18n %} {% load account socialaccount %} {% load crispy_forms_tags %} {% block head_title %} {% translate "Sign In" %} {% endblock head_title %} {% block inner %}

{% translate "Sign In" %}

{% get_providers as socialaccount_providers %} {% if socialaccount_providers %}

{% translate "Please sign in with one of your existing third party accounts:" %} {% if ACCOUNT_ALLOW_REGISTRATION %} {% blocktranslate trimmed %} Or, sign up for a {{ site_name }} account and sign in below: {% endblocktranslate %} {% endif %}

{% translate "or" %}
{% include "socialaccount/snippets/login_extra.html" %} {% else %} {% if ACCOUNT_ALLOW_REGISTRATION %}

{% blocktranslate trimmed %} If you have not created an account yet, then please sign up first. {% endblocktranslate %}

{% endif %} {% endif %}
{% csrf_token %} {{ form|crispy }} {% if redirect_field_value %} {% endif %} {% comment %} {% translate "Forgot Password?" %} {% endcomment %}
{% endblock inner %} {% endraw %}