{% load i18n %} {% load account %} {% load url from future %}

{% trans "Log in" %}

{% if redirect_url %}

{% blocktrans with redirect_url as url %} You've successfully logged in. You're being redirected back to the website.
If you're not redirected within 10 seconds, please, click here. {% endblocktrans %}

{% else %} {% if socialaccount.providers %}

{% blocktrans with site.name as site_name %}Please log in with one of your existing third party accounts. Or use the form below:{% endblocktrans %}

{% include "socialaccount/snippets/login_extra.html" %} {% endif %}
{% csrf_token %} {{ login_form.as_p }} {% if redirect_field_value %} {% endif %} {% trans "Forgot Password?" %}
{% endif %}