Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 41 lines (36 sloc) 1.235 kb
d8f588c Buggy AuthopenId part2
Kishore kumar J authored
1 {% extends "base.html" %}
2 {% load i18n %}
1479ac6 Authentication debugging
Kishore kumar J authored
3 {% block title %} Associate OpenID {% endblock %}
d8f588c Buggy AuthopenId part2
Kishore kumar J authored
4 {% block content %}
5 {% if msg %}
6 <div class="errors"><p>{{ msg }}</p></div>
7 {% endif %}
8
9 {% if form.errors %}
10 <div class="errors"><p>Openid url : {{ form.openid_url.errors|join:', ' }}</p></div>
11 {% endif %}
12
13 <div class="login">
14
15 <form name="openid_form" id="openid_form" action="{% url user_associate %}" method="post">
16 <input type="hidden" name="action" value="verify" />
17 <input type="hidden" name="next" value="{{ next }}" />
18 <fieldset>
19 <legend>{% trans "Add a new OpenID URL" %}</legend>
20 <div id="openid_choice">
21 <p>Please click your account provider:</p>
22 <div id="openid_btns"></div>
23 </div>
24 <div id="openid_input_area">
25 <label for="id_openid_url">{% trans "OpenId URL :" %}</label><br />{{ form.openid_url }}
26 <input name="openid_submit" type="submit" value="{% trans "Add OpenID" %}">
27 </div>
28 </fieldset>
29 </form>
30 </div>
31 {% endblock %}
32
33 {% block extra_scripts %}
34 <script type="text/javascript" src="{{ MEDIA_URL }}/js/openid-jquery.js"></script>
35 <script type="text/javascript">
36 $(document).ready(function() {
37 openid.init('id_openid_url');
38 });
39 </script>
1479ac6 Authentication debugging
Kishore kumar J authored
40 {% endblock %}
Something went wrong with that request. Please try again.