|
318
|
1 |
{% extends "site/layout/base_workspace.html" %} |
|
0
|
2 |
{% load com %} |
|
|
3 |
{% load i18n %} |
|
|
4 |
|
|
|
5 |
{% block title %} |
|
|
6 |
{% blocktrans %}Contact user{% endblocktrans %} |
|
|
7 |
{% endblock %} |
|
|
8 |
|
|
318
|
9 |
{% block main %} |
|
0
|
10 |
|
|
|
11 |
<script type="text/javascript"> |
|
|
12 |
<!-- |
|
|
13 |
tb_conf['current_tab'] = 'user'; |
|
|
14 |
--> |
|
|
15 |
</script> |
|
|
16 |
|
|
|
17 |
<div id="user" class="tab-meta"> |
|
|
18 |
|
|
319
|
19 |
<ul class="sub_list"> |
|
|
20 |
<li><a href="{% url user %}">{% blocktrans %}People' list{% endblocktrans %}</a></li> |
|
|
21 |
<li> / </li> |
|
|
22 |
<li><a href="{% url user-add %}">{% blocktrans %}Add a new user{% endblocktrans %}</a></li> |
|
|
23 |
<li> / </li> |
|
|
24 |
<li><a href="{% url user-mass-add %}">{% blocktrans %}Add users in bulk{% endblocktrans %}</a></li> |
|
|
25 |
<li> / </li> |
|
|
26 |
<li class="active_sub">{% blocktrans with recipient_profile.admin_print as username %}Contact user {{ username }}{% endblocktrans %}</li> |
|
|
27 |
</ul> |
|
0
|
28 |
|
|
|
29 |
<br /><br /> |
|
318
|
30 |
|
|
|
31 |
<form enctype="multipart/form-data" class="wizard-form" action="." method="post"> |
|
|
32 |
|
|
|
33 |
<table summary="form" class="wide_form"> |
|
|
34 |
<tbody> |
|
|
35 |
{% if form %} |
|
|
36 |
{% include "site/macros/form_fields.html" %} |
|
|
37 |
{% endif %} |
|
0
|
38 |
|
|
318
|
39 |
{% if forms %} |
|
|
40 |
{% for form in forms %} |
|
|
41 |
{% include "site/macros/form_fields.html" %} |
|
|
42 |
{% endfor %} |
|
|
43 |
{% endif %} |
|
|
44 |
|
|
|
45 |
<tr> |
|
|
46 |
<td style="vertical-align: top; width: 20%; text-align:right;"> |
|
|
47 |
</td> |
|
|
48 |
<td> |
|
|
49 |
<label></label> |
|
|
50 |
<input name="send" type="submit" value="{% blocktrans %}Send{% endblocktrans %}"/> |
|
|
51 |
|
|
0
|
52 |
<input name="cancel" type="button" id="cancel_button" value="{% blocktrans %}Cancel{% endblocktrans %}"/> |
|
|
53 |
<script type="text/javascript"> |
|
|
54 |
<!-- |
|
|
55 |
$(document).ready(function(){ |
|
|
56 |
$("#cancel_button").click(function () { |
|
|
57 |
window.location = "{% url user %}"; |
|
|
58 |
}); |
|
|
59 |
}) ; |
|
|
60 |
--> |
|
|
61 |
</script> |
|
318
|
62 |
</td> |
|
|
63 |
</tr> |
|
|
64 |
</tbody> |
|
|
65 |
</table> |
|
0
|
66 |
|
|
318
|
67 |
</form> |
|
|
68 |
|
|
0
|
69 |
</div> |
|
|
70 |
{% endblock %} |