Revision 890b0eaf astakos/im/templates/invitations.html
b/astakos/im/templates/invitations.html | ||
---|---|---|
1 |
<!DOCTYPE html> |
|
2 |
<html> |
|
3 |
<head> |
|
4 |
<meta charset="utf-8" /> |
|
5 |
<title>Invitations</title> |
|
6 |
<link rel="stylesheet" href="/im/static/bootstrap.css"> |
|
7 |
</head> |
|
8 |
<body> |
|
1 |
{% extends "account_base.html" %} |
|
2 |
|
|
3 |
{% load formatters %} |
|
4 |
|
|
5 |
{% block body %} |
|
9 | 6 |
<div class="container"> |
10 | 7 |
<h3>You have {{ user.invitations }} invitation{{ user.invitations|pluralize }} left.</h3> |
11 | 8 |
|
12 |
{% if message %} |
|
9 |
<!--{% if message %}
|
|
13 | 10 |
<br /> |
14 | 11 |
<div class="alert-message {{ status }}"> |
15 | 12 |
<p>{{ message }}</p> |
16 | 13 |
</div> |
17 |
{% endif %} |
|
14 |
{% endif %}-->
|
|
18 | 15 |
|
19 | 16 |
{% if user.invitations %} |
20 | 17 |
<br /> |
21 | 18 |
<h4>Invite someone else:</h4> |
22 |
<form method="post"> |
|
19 |
<form method="post">{% csrf_token %}
|
|
23 | 20 |
<div class="clearfix"> |
24 | 21 |
<label for="user-realname">Name</label> |
25 | 22 |
<div class="input"> |
... | ... | |
40 | 37 |
</div> |
41 | 38 |
</form> |
42 | 39 |
{% endif %} |
43 |
</div> |
|
44 |
</body> |
|
45 |
</html> |
|
40 |
{% endblock body %} |
Also available in: Unified diff