From 9c5143cbd747dc2dbae5aa47d6faf7ea95881eef Mon Sep 17 00:00:00 2001 From: Jeffrey Forman Date: Fri, 23 Nov 2012 22:22:59 -0500 Subject: [PATCH] clean up delete template, change rr_array -> rr_list. list multiple records for deletion a bit cleaner --- .../bcommon/delete_record_initial.htm | 35 +++++++++++-------- binder/templates/bcommon/list_zone.htm | 2 +- 2 files changed, 21 insertions(+), 16 deletions(-) diff --git a/binder/templates/bcommon/delete_record_initial.htm b/binder/templates/bcommon/delete_record_initial.htm index fdcfe2d..2bf205e 100644 --- a/binder/templates/bcommon/delete_record_initial.htm +++ b/binder/templates/bcommon/delete_record_initial.htm @@ -8,11 +8,9 @@ Delete record(s) in {{ zone_name }} {% csrf_token %} - - - - - + + + @@ -22,23 +20,30 @@ Delete record(s) in {{ zone_name }} - + - + - - - + + + + +
Do you really want to delete the following records?
Zone {{ zone_name }} {{ zone_name }}
Records{% for current_rr in rr_array %} {{ current_rr}} {% endfor %}{% for current_rr in rr_list %}{{ current_rr }}
{% endfor %}
Key
+ +
+ +
- + {% endblock body %} diff --git a/binder/templates/bcommon/list_zone.htm b/binder/templates/bcommon/list_zone.htm index e267861..b28c539 100644 --- a/binder/templates/bcommon/list_zone.htm +++ b/binder/templates/bcommon/list_zone.htm @@ -23,7 +23,7 @@ Zone listing for {{ zone_name }} {% for current_record in zone_array %} - + {{ current_record.rr_name }} {{ current_record.rr_ttl }} {{ current_record.rr_class }}