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 <b>{% trans "You are here for the first time with " %}{{ provider }}</b>
13 {% trans "Please create your screen name and save your email address. Saved email address will let you subscribe for the updates on the most interesting questions and will be used to create and retrieve your unique avatar image. " %}
15 <p style="display:none">{% trans "This account already exists, please use another." %}</p>
19 <ul class="errorlist">
20 {% if form1.non_field_errors %}
21 {% for error in form1.non_field_errors %}
28 {% if form2.errors %}<!--form2 is dysfunctional so commented out -->
30 <span class="big">{% trans "Sorry, looks like we have some errors:" %}</span><br/>
31 <ul class="error-list">
32 {% if form2.username.errors %}
33 <li><span class="error">{{ form2.username.errors|join:", " }}</span></li>
35 {% if form2.password.errors %}
36 <li><span class="error">{{ form2.password.errors|join:", " }}</span></li>
44 <form name="fregister" action="" method="POST">
46 <div class="form-row-vertical">
47 <label for="id_username">{% trans "Screen name label" %}</label>
48 {% if form1.username.errors %}
49 <p class="error">{{ form1.username.errors|join:", " }}</p>
53 <div class="form-row-vertical margin-bottom">
54 <label for="id_email">{% trans "Email address label" %}</label>
55 {% if form1.email.errors %}
56 <p class="error">{{ form1.email.errors|join:", " }}</p>
60 <p>{% trans "receive updates motivational blurb" %}</p>
61 <div class='simple-subscribe-options'>
62 {{email_feeds_form.subscribe}}
63 {% if email_feeds_form.errors %}
64 <p class="error">{% trans "please select one of the options above" %}</p>
67 <p class='space-above'>{% trans "Tag filter tool will be your right panel, once you log in." %}</p>
68 <div class="submit-row"><input type="submit" class="submit" name="bnewaccount" value="{% trans "create account" %}"/></div>
71 {% comment %}<!-- this form associates openID with an existing password-protected account, not yet functional -->
73 <div class="login" style="display:none">
74 <form name="fverify" action="{% url user_register %}" method="POST">
76 <fieldset style="padding:10px">
77 <legend class="big">{% trans "Existing account" %}</legend>
78 <div class="form-row"><label for="id_username">{% trans "user name" %}</label><br/>{{ form2.username }}</div>
79 <div class="form-row"><label for="id_passwordl">{% trans "password" %}</label><br/>{{ form2.password }}</div>
80 <p><span class='big strong'>(Optional) receive updates by email</span> - only sent when there are any.</p>
81 <div class='simple-subscribe-options'>
82 {{email_feeds_form.subscribe}}
84 <!--todo double check translation from chinese 确认 = "Register" -->
85 <div class="submit-row">
86 <input type="submit" class="submit" name="bverify" value="{% trans "Register" %}"/>
87 <a href="{% url user_sendpw %}">{% trans "Forgot your password?" %}</a>
95 <!-- end complete.html -->