{% extends "account/base.html" %} {% load i18n %} {% load bootstrap_tags %} {% load account socialaccount %} {% block head_title %}{% trans "Log in" %}{% endblock %} {% block body_outer %}
{% get_providers as socialaccount_providers %} {% if socialaccount_providers %}

{% blocktrans with site.name as site_name %}Please sign in with one of your existing third party accounts. Or, sign up for a {{ site_name }} account and sign in below:{% endblocktrans %}

    {% include "socialaccount/snippets/provider_list.html" with process="login" %}
{% include "socialaccount/snippets/login_extra.html" %} {% else %}

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

{% endif %}
{% csrf_token %} {{ form|as_bootstrap }} {% if redirect_field_value %} {% endif %}
{% endblock body_outer %}