Fixed bug in clearning cache; added Log to Person edit

svn: r19844
This commit is contained in:
Doug Blank
2012-06-15 02:30:38 +00:00
parent 20fd0256bf
commit 7cdc5ec0c0
4 changed files with 41 additions and 15 deletions

View File

@@ -20,13 +20,14 @@
<div id="summaryarea">
<table class="infolist" style="width:90%;"> {% comment %} 5 cols {% endcomment %}
<tbody>
{% if personform.errors or nameform.errors or surnameform.errors %}
{% if personform.errors or nameform.errors or surnameform.errors or logform.errors %}
<hr>
<p id="error">The following fields have errors. Please correct and try again.</p>
<div id="error">
{{personform.errors}}
{{nameform.errors}}
{{surnameform.errors}}
{{logform.errors}}
</div>
<hr>
{% endif %}
@@ -131,6 +132,12 @@
</div>
</div>
{% if logform %}
<table>
{{logform.as_table}}
</table>
{% endif %}
{% if user.is_superuser %}
{% if action == "edit" %}
{% make_button "Cancel" "/person/%s" person.handle args %}