Statistics
| Branch: | Tag: | Revision:

root / astakos / im / templates / local_create.html @ 64cd4730

History | View | Annotate | Download (1.7 kB)

1
{% extends "base.html" %}
2

    
3
{% block title%}
4
        <h2>Sign up</h2>
5
{% endblock title%}
6

    
7
{% block body %}
8
<form action="{% url astakos.im.views.local_create %}" method="post">
9
{% if provider == 'local'%}
10
  <div class="clearfix">
11
    <label for="user-uniq">Username</label>
12
    <div class="input">
13
      <input class="span4" id="user-uniq" name="uniq" {%if  %} value={{ inv.uniq }} {% endif %} type="text" />
14
    </div>
15
  </div>
16
  
17
  <div class="clearfix">
18
    <label for="user-password">Password</label>
19
    <div class="input">
20
      <input class="span4" id="user-password" name="password" type="password" />
21
    </div>
22
  </div>
23
  
24
  <div class="clearfix">
25
    <label for="user-password">Confirm Password</label>
26
    <div class="input">
27
      <input class="span4" id="user-retype-password" name="retype_password" type="password" />
28
    </div>
29
  </div>
30

    
31
  <div class="clearfix">
32
    <label for="user-realname">Real Name</label>
33
    <div class="input">
34
      <input class="span4" id="user-realname" name="realname" {%if  %} value={{ inv.realname }} {% endif %} type="text" />
35
    </div>
36
  </div>
37
  
38
  <div class="clearfix">
39
    <label for="user-email">Email</label>
40
    <div class="input">
41
      <input class="span4" id="user-email" name="email" type="text" />
42
    </div>
43
  </div>
44
{% endif %}
45

    
46
{% if provider == 'twitter' %}
47
    <div class="clearfix">
48
        <label for="user-uniq">Twitter </label>
49
        <div class="input">
50
            <input class="span4" id="user-uniq" name="uniq" {%if  %} value={{ inv.uniq }} {% endif %} type="text" />
51
        </div>
52
    </div>
53
{% endif %}
54

    
55
  <div class="actions">
56
    <button type="submit" class="btn primary">Create</button>
57
    <button type="reset" class="btn">Reset</button>
58
  </div>
59
</form>
60
{% endblock body %}