author | Sverre Rabbelier <srabbelier@gmail.com> |
Sat, 11 Apr 2009 22:57:23 +0000 | |
changeset 2159 | a1f1eaaf458b |
parent 1358 | 6be502a1bcc6 |
permissions | -rw-r--r-- |
1342 | 1 |
{% extends "soc/models/edit.html" %} |
2 |
{% comment %} |
|
3 |
Licensed under the Apache License, Version 2.0 (the "License"); |
|
4 |
you may not use this file except in compliance with the License. |
|
5 |
You may obtain a copy of the License at |
|
6 |
||
7 |
http://www.apache.org/licenses/LICENSE-2.0 |
|
8 |
||
9 |
Unless required by applicable law or agreed to in writing, software |
|
10 |
distributed under the License is distributed on an "AS IS" BASIS, |
|
11 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
12 |
See the License for the specific language governing permissions and |
|
13 |
limitations under the License. |
|
14 |
{% endcomment %} |
|
15 |
{% load forms_helpers %} |
|
16 |
||
17 |
{% block body %} |
|
18 |
<p> |
|
19 |
<table> |
|
20 |
{% as_readonly_table form %} |
|
21 |
</table> |
|
22 |
{% if export_link %} |
|
23 |
<table> |
|
24 |
<tr> |
|
25 |
<td colspan="4"> </td> |
|
26 |
</tr> |
|
27 |
<td> |
|
2159
a1f1eaaf458b
Use key.id_or_name in templates rather than key.name
Sverre Rabbelier <srabbelier@gmail.com>
parents:
1358
diff
changeset
|
28 |
<input type="button" onclick="location.href='/{{ entity_type_url|lower }}/export/{{ entity.key.id_or_name }}'" value="Export"/> |
1342 | 29 |
</td> |
30 |
</tr> |
|
31 |
</table> |
|
32 |
{% endif %} |
|
33 |
</p> |
|
34 |
{% endblock %} |