1 {% extends "base_content.html" %}
4 {% block head %}{% endblock %}
5 {% block title %}{% spaceless %}{% trans "Connect your OpenID with this site" %}{% endspaceless %}{% endblock %}
7 <div id="main-bar" class="headNormal">
8 {% trans "Connect your OpenID with your account on this site" %}
10 <div id="completetxt" >
12 {# Only display the OpenID greeting if a provider is detected. #}
15 <b>{% trans "You are here for the first time with " %}{{ provider }}</b>
19 {% trans "Please choose your screen name and confirm your email address. A valid email address is necessary to receive notifications about activity in the areas of this community you're most interested in, and will help you become an involved participant in this community." %}
22 <p style="display:none">{% trans "This account already exists, please use another." %}</p>
26 <ul class="errorlist">
27 {% if form1.non_field_errors %}
28 {% for error in form1.non_field_errors %}
36 <form name="fregister" action="" method="POST">
38 <div class="form-row-vertical margin-bottom">
39 <label for="id_username">{{ form1.username.label }}</label>
40 {% if form1.username.errors %}
41 <p class="error">{{ form1.username.errors|join:", " }}</p>
45 <div class="form-row-vertical margin-bottom">
46 <label for="id_email">{{ form1.email.label }}</label>
47 {% if form1.email.errors %}
48 <p class="error">{{ form1.email.errors|join:", " }}</p>
52 {% if form1.password1 %}
53 <div class="form-row-vertical margin-bottom">
54 <label for="password1_id">{{ form1.password1.label }}</label>
55 {% if form1.password1.errors %}
56 <p class="error">{{ form1.password1.errors|join:", " }}</p>
60 <div class="form-row-vertical margin-bottom">
61 <label for="password2_id">{{ form1.password2.label }}</label>
62 {% if form1.password2.errors %}
63 <p class="error">{{ form1.password2.errors|join:", " }}</p>
68 {% if form1.recaptcha %}
69 <div class="form-row-vertical margin-bottom">
70 <label for="recaptcha_id">{{ form1.recaptcha.label }}</label>
71 {% if form1.recaptcha.errors %}
72 <p class="error">{{ form1.recaptcha.errors|join:", " }}</p>
77 <div class="submit-row"><input type="submit" class="submit" name="bnewaccount" id="bnewaccount" value="{% trans "create account" %}"/></div>
80 {% comment %}<!-- this form associates openID with an existing password-protected account, not yet functional -->
82 <div class="login" style="display:none">
83 <form name="fverify" action="{% url user_register %}" method="POST">
85 <fieldset style="padding:10px">
86 <legend class="big">{% trans "Existing account" %}</legend>
87 <div class="form-row"><label for="id_username">{% trans "user name" %}</label><br/>{{ form2.username }}</div>
88 <div class="form-row"><label for="id_passwordl">{% trans "password" %}</label><br/>{{ form2.password }}</div>
89 <p><span class='big strong'>(Optional) receive updates by email</span> - only sent when there are any.</p>
90 <!--todo double check translation from chinese 确认 = "Register" -->
91 <div class="submit-row">
92 <input type="submit" class="submit" name="bverify" value="{% trans "Register" %}"/>
93 <a href="{% url user_sendpw %}">{% trans "Forgot your password?" %}</a>
101 <!-- end complete.html -->