root / astakos / im / templates / signup.html @ 890b0eaf
History | View | Annotate | Download (1 kB)
1 |
{% extends "base.html" %} |
---|---|
2 |
|
3 |
{% block title%} |
4 |
<h1>Welcome</h1> |
5 |
<p>Choose how to signup.</p> |
6 |
{% endblock title%} |
7 |
|
8 |
{% block body%} |
9 |
<div class="row"> |
10 |
{% if "local" in im_modules %} |
11 |
<div class="span4"> |
12 |
<h4>Local account</h4> |
13 |
<form action="" method="post" class="form-stacked">{% csrf_token %} |
14 |
{{ form.as_p }} |
15 |
<br>
|
16 |
<div class=""> |
17 |
<input type="hidden" name="next" value="{{ next }}"> |
18 |
<input type="hidden" name="code" value="{{ code }}"> |
19 |
<button type="submit" class="btn primary">Go</button> |
20 |
</div>
|
21 |
</form>
|
22 |
</div>
|
23 |
{% endif %} |
24 |
<div class="span8"> |
25 |
{% for o in im_modules %} |
26 |
{% if o != 'local' %} |
27 |
<a href="/im/login/{{ o }}{% ifnotequal next "" %}?next={{ next|urlencode }}{% endifnotequal %}" alt="{{ o|title }}"><img src="/im/static/{{ o }}.png" width="120" height="120"></a> |
28 |
{% endif %} |
29 |
{% endfor %} |
30 |
</div>
|
31 |
</div>
|
32 |
{% endblock body%} |