{% extends "account/base.html" %} {% load i18n %} {% load account socialaccount %} {% block head_title %}{% trans "Sign In" %}{% endblock %} {% block content %}

{% trans "Sign In" %}

{% 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/login_extra.html" %} {% else %}

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

{% endif %}
{% csrf_token %} {% if form.non_field_errors %} {% endif %}
{% if form.login.errors %} {% for error in form.login.errors %} {{ error }}
{% endfor %}
{% endif %}
{% if form.password.errors %} {% for error in form.password.errors %} {{ error }}
{% endfor %}
{% endif %}
{% if form.remember.errors %} {% for error in form.remember.errors %} {{ error }}
{% endfor %}
{% endif %}
{% if redirect_field_value %} {% endif %}
{% trans "Forgot Password?" %}
{% endblock %}