{% load i18n %} {% load account %} {% load socialaccount %} {% get_providers as socialaccount_providers %}
{% csrf_token %} {% if redirect_field_value %} {% endif %} {{ form }}

{% url 'account_signup' as signup_url %} {% blocktrans %}If you have not created an account yet, then please sign up first.{% endblocktrans %}

{% url 'account_reset_password' as reset_url %} {% blocktrans %}If you forgot your password and want to reset it, click here.{% endblocktrans %}

{% if socialaccount_providers %}

{% blocktrans with site.name as site_name %}Alternatively, you can login using one of the following third party accounts:{% endblocktrans %}

{% include "socialaccount/snippets/login_extra.html" %}

{% url 'socialaccount_connections' as account_connections_url %} {% blocktrans %}If you already have an account, but did not connect a third party account yet, you can do so on the account connections page.{% endblocktrans %}

{% endif %}