Statistics
| Branch: | Tag: | Revision:

root / astakos / im / templates / invitations.html @ 890b0eaf

History | View | Annotate | Download (1021 Bytes)

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 message %}
10
  <br />
11
  <div class="alert-message {{ status }}">
12
    <p>{{ message }}</p>
13
  </div>
14
  {% endif %}-->
15

    
16
  {% if user.invitations %}
17
  <br />
18
  <h4>Invite someone else:</h4>
19
  <form method="post">{% csrf_token %}
20
    <div class="clearfix">
21
      <label for="user-realname">Name</label>
22
      <div class="input">
23
        <input type="text" class="span4" id="user-realname" name="realname" />
24
      </div>
25
    </div>
26

    
27
    <div class="clearfix">
28
      <label for="user-uniq">Email</label>
29
      <div class="input">
30
        <input type="text" class="span4" id="user-uniq" name="uniq" />
31
      </div>
32
    </div>
33

    
34
    <div class="actions">
35
      <button type="reset" class="btn">Reset</button>
36
      <button type="submit" class="btn primary">Invite</button>
37
    </div>
38
  </form>
39
  {% endif %}
40
{% endblock body %}