Initial commit. Move from pithos repository.
[astakos] / astakos / im / templates / signup.html
1 {% extends "base.html" %}
2
3 {% block title%}
4         <h1>Welcome</h1>
5 {% endblock title%}
6
7 {% block body %}
8 <form action={%url astakos.im.views.signup %} method="post">
9     <p>Select an Identity Provider:</p>
10     {% for choice in im_modules%}
11     <div class="row">
12         <div class="span8">
13             <input type="radio" name="choice" id="choice{{ forloop.counter }}" value="{{ choice }}" />
14             <label for="choice{{ forloop.counter }}"><img src="/im/static/{{ choice }}.png" width="80"></label>
15         </div>
16     </div>
17     {% endfor %}
18 <div>
19     {% if inv %}
20     <input type=hidden  name="code" value={{ inv.code }} />
21     {% endif %}
22     <button type="submit" class="btn primary">Signup</button>
23 </div>
24 <input type="hidden" name="provider" value="{{ provider }}">
25 <input type="hidden" name="code" value="{{ code }}">
26 <input type="hidden" name="next" value="{{ next }}">
27 </form>
28 {% endblock body %}