{% extends "base_content.html" %} {% comment %} views calling this template: * django_authopenid.views.register with login_type='openid' * django_authopenid.views.signin - with login_type='legacy' parameters: * provider * login_type openid|legacy * username (same as screen name or username in the models, and nickname in openid sreg) * form1 - OpenidRegisterForm * form2 - OpenidVerifyForm not clear what this form is supposed to do, not used for legacy * email_feeds_form forum.forms.SimpleEmailSubscribeForm * openid_username_exists {% endcomment %} {% load i18n %} {% block head %}{% endblock %} {% block title %}{% spaceless %}{% trans "Connect your OpenID with this site" %}{% endspaceless %}{% endblock %} {% block content %}
{% trans "Connect your OpenID with your account on this site" %}
{% ifequal login_type 'openid' %} {% blocktrans %}register new {{provider}} account info, see {{gravatar_faq_url}}{% endblocktrans %} {% else %} {% ifequal login_type 'legacy' %} {% if external_login_name_is_taken %} {% blocktrans %}{{username}} already exists, choose another name for {{provider}}. Email is required too, see {{gravatar_faq_url}} {% endblocktrans %} {% else %} {% blocktrans %}register new external {{provider}} account info, see {{gravatar_faq_url}}{% endblocktrans %} {% endif %} {% else %} {% blocktrans %}register new Facebook connect account info, see {{gravatar_faq_url}}{% endblocktrans %} {% endifequal %} {% endifequal %}

{% trans "This account already exists, please use another." %}

{% if form1.errors %} {% endif %} {% comment %} {% if form2.errors %}
{% trans "Sorry, looks like we have some errors:" %}
{% endif %} {% endcomment %}
{% ifequal login_type 'openid' %}
{% else %} {% ifequal login_type 'facebook' %} {% else %} {% endifequal %} {% endifequal %} {{ form1.next }}
{% if form1.username.errors %}

{{ form1.username.errors|join:", " }}

{% endif %} {{ form1.username }}
{% if form1.email.errors %}

{{ form1.email.errors|join:", " }}

{% endif %} {{ form1.email }}

{% trans "receive updates motivational blurb" %}

{{email_feeds_form.subscribe}} {% if email_feeds_form.errors %}

{% trans "please select one of the options above" %}

{% endif %}

{% trans "Tag filter tool will be your right panel, once you log in." %}

{% comment %} {% if form2 %} {% endif %} {% endcomment %} {% endblock %}