{% extends "site_base.html" %} {% load i18n %} {% load uni_form %} {% load ifsetting_tag %} {% block head_title %}{% trans "Login" %}{% endblock %} {% block body %}

{% trans "Log In" %}

{% if user.is_authenticated %}

{% trans "Note" %}: {% blocktrans %}you are already logged in as {{ user }}.{% endblocktrans %}

{% else %} {% ifsetting ACCOUNT_OPEN_SIGNUP %} {% url acct_signup as signup_url %}

{% blocktrans %}Don't have an account? Sign up!{% endblocktrans %}

{% endifsetting %} {% endif %}
{{ form|as_uni_form }}
{% if not openid %}

{% trans "Or sign in with your OpenID" %}:

{# @@@ why isn't this just does as a form object ? #}
{% if url_required %}

This field is required.

{% else %}
{% endif %}
{% endif %}

{% blocktrans %}If you have any trouble logging in to your account, contact us at {{ contact_email }}.{% endblocktrans %}

{% endblock %} {% block extra_body %} {% endblock %}