Statistics
| Branch: | Tag: | Revision:

root / astakos / im / templates / im / signup.html @ 1e685275

History | View | Annotate | Download (2.5 kB)

1
{% extends 'im/base_two_cols.html' %}
2

    
3
{% block signin_class %}hidden{% endblock %}
4

    
5
{% block page.title %}
6
    Signup
7
{% endblock %}
8

    
9
{% block body %}
10
<div class="section">
11
    <img class="pic" src="{{ IM_MEDIA_URL }}images/pictures/signup_pic.png" />
12
</div>
13
{% include "im/services_description.html" %}
14
{% endblock body %}
15

    
16
{% block body.right %}
17
    {% if "local" in im_modules %}
18
      <div class="form-stacked">
19
        <form action="{% url astakos.im.views.signup %}" method="post"
20
            class="innerlabels signup">{% csrf_token %}
21
          <h2><span>SIGN UP</span></h2>
22
            <input type="hidden" name="next" value="{{ next }}">
23
            <input type="hidden" name="code" value="{{ code }}">
24
            <input type="hidden" name="provider" value="local">
25
            {% with local_form as form %}
26
            {% include "im/form_render.html" %}
27
            {% endwith %}
28
            <div class="form-row submit">
29
                <input type="submit" class="submit altcol" value="SUBMIT" />
30
            </div>
31
        </form>
32
      </div>
33
    {% endif %}
34
    {% if "twitter" in im_modules %}
35
      <div class="form-stacked">
36
        <form action="{% url astakos.im.views.signup %}" method="post"
37
            class="innerlabels signup">{% csrf_token %}
38
            <h2><span>SIGN UP USING TWITTER</span></h2>
39
            <input type="hidden" name="next" value="{{ next }}">
40
            <input type="hidden" name="code" value="{{ code }}">
41
            <input type="hidden" name="provider" value="twitter">
42
            {% with twitter_form as form %}
43
            {% include "im/form_render.html" %}
44
            {% endwith %}
45
            <div class="form-row submit">
46
                <input type="submit" class="submit altcol" value="SUBMIT" />
47
            </div>
48
        </form>
49
      </div>
50
    {% endif %}
51
        {% if 'shibboleth' in im_modules %}
52
          <div class="form">
53
            <form action="{% url astakos.im.target.shibboleth.login %}" method="post"
54
                class="innerlabels signup">{% csrf_token %}
55
              <h2><span>SIGN UP USING SHIBBOLETH</span></h2>
56
                  <input type="hidden" name="next" value="{{ next }}">
57
                  <input type="hidden" name="code" value="{{ code }}">
58
                  <input type="hidden" name="provider" value="shibboleth">
59
                <div class="form-row submit">
60
                    <input type="submit" class="submit altcol" value="SUBMIT" />
61
                </div>
62
            </form>
63
          </div>
64
        {% endif %}
65
      </div>
66
{% endblock %}