{% extends "base.html" %} {% load i18n %} {% load uni_form %} {% load ifsetting_tag %} {% load facebook_tags %} {% block head_title %}{% trans "Login" %}{% endblock %} {% block extra_head %} {% facebook_js %} {% endblock %} {% block body %} {% if openid and not user.is_authenticated %}
It appears you have started to login using OpenID. Want to finish logging in?
{% endif %}{% 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 %} {% if user.is_authenticated %}{% trans "associate your PirateWeb account with this one." %}:
{% else %}{% trans "If you're a party member, sign in with your PirateWeb account." %}:
{% endif %} {% load pwauth_tags %}{% trans "Or sign in with your OpenID" %}:
{# @@@ why isn't this just does as a form object ? #} {% show_connect_button %}{% blocktrans %}If you have any trouble logging in to your account, contact us at {{ CONTACT_EMAIL }}.{% endblocktrans %}
{% endblock %} {% block extra_body %} {% initialize_facebook_connect %} {% endblock %}