Some template cleanup, making tag hierarchy more correct.

This commit is contained in:
Jeffrey Forman 2012-11-25 13:45:01 -05:00
parent fdae61760c
commit 6b66c156b9
2 changed files with 6 additions and 7 deletions

View File

@ -48,7 +48,6 @@
</div> </div>
</body> </body>
{% block footer %} {% block footer %}
{% endblock footer %} {% endblock footer %}
</html> </html>

View File

@ -7,10 +7,11 @@ Delete record(s) in {{ zone_name }}
{% block body %} {% block body %}
<table class="table"> <table class="table">
<form action="/delete_record/result/" method="POST">{% csrf_token %} <form action="/delete_record/result/" method="POST">
<input type="hidden" name="dns_server" value="{{ dns_server }}"> {% csrf_token %}
<input type="hidden" name="zone_name" value="{{ zone_name }}"> <input type="hidden" name="dns_server" value="{{ dns_server }}" />
<input type="hidden" name="rr_list" value="{{ rr_list }}"> <input type="hidden" name="zone_name" value="{{ zone_name }}" />
<input type="hidden" name="rr_list" value="{{ rr_list }}" />
<tr> <tr>
<th colspan="2">Do you really want to delete the following records?</th> <th colspan="2">Do you really want to delete the following records?</th>
</tr> </tr>
@ -42,8 +43,7 @@ Delete record(s) in {{ zone_name }}
<input type="submit" value="Yes, I really want to delete them."/> <input type="submit" value="Yes, I really want to delete them."/>
</td> </td>
</tr> </tr>
</form>
</table> </table>
</form>
{% endblock body %} {% endblock body %}