- use email to login & authenticate users
[astakos] / astakos / im / templates / invitations.html
1 {% extends "account_base.html" %}
2
3 {% load formatters %}
4
5 {% block body %}
6 <div class="container">
7   <h3>You have {{ user.invitations }} invitation{{ user.invitations|pluralize }} left.</h3>
8
9   {% if user.invitations %}
10   <br />
11   <h4>Invite someone else:</h4>
12   <form method="post">{% csrf_token %}
13     <div class="clearfix">
14       <label for="user-realname">Name</label>
15       <div class="input">
16         <input type="text" class="span4" id="user-realname" name="realname" />
17       </div>
18     </div>
19
20     <div class="clearfix">
21       <label for="user-uniq">Email</label>
22       <div class="input">
23         <input type="text" class="span4" id="user-uniq" name="uniq" />
24       </div>
25     </div>
26
27     <div class="actions">
28       <button type="reset" class="btn">Reset</button>
29       <button type="submit" class="btn primary">Invite</button>
30     </div>
31   </form>
32   {% endif %}
33 {% endblock body %}