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