Some code cleanup.

fixed #76
This commit is contained in:
Antoine Nguyen
2011-07-27 10:49:55 +02:00
parent 81a03d6c65
commit 893dcfdb3f
6 changed files with 77 additions and 60 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
{% block setcontent %}
{% load i18n %}
<form method="POST" action="{% url admin.views.saveextensions %}">
{{ extensions }}
{{ extensions|safe }}
<br />
<input type="submit" name="apply" value="{% trans "Apply" %}" />
</form>
+1 -4
View File
@@ -3,10 +3,7 @@
{% block middletitle %}{{ title }}{% endblock %}
{% block subcontent %}
<div id="objects" name="{{ selection }}" rel="{{ rel }}">
{% if not objects %}<div class="info">{{ emptymsg }}</div>
{% else %}
{{ table }}
{% endif %}
{{ table|safe }}
</div>
{% endblock %}
{% block footer %}