{% extends '_layout.html' %} {% load i18n %} {% load account socialaccount %} {% block page_title %}{% trans "Sign In" %} {{ block.super }}{% endblock %} {% block main_content %} {% get_providers as socialaccount_providers %}

{% trans "Sign In" %}

{% if socialaccount_providers %}

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

{% for provider in socialaccount_providers %} {% if provider.id == "openid" %} {% for brand in provider.get_brands %} {% endfor %} {% endif %} {{ provider.name }} {% endfor %}
{% include "socialaccount/snippets/login_extra.html" %} {% else %}

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

{% endif %}

{% trans "If you already have an account, please sign in here:" %}

{% endblock %}