Part of previous commit for template to have form to delete records
This commit is contained in:
parent
41509f6898
commit
a69baae308
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
|
<th></th>
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
<th>TTL</th>
|
<th>TTL</th>
|
||||||
<th>Class</th>
|
<th>Class</th>
|
||||||
|
@ -11,8 +12,12 @@
|
||||||
<th>Data</th>
|
<th>Data</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
<form action="/modify/delete_record" method="post">
|
||||||
|
<input type="hidden" name="rr_domain" value="{{ rr_domain }}">
|
||||||
|
<input type="hidden" name="rr_server" value="{{ rr_server }}">
|
||||||
{% for current_record in record_array %}
|
{% for current_record in record_array %}
|
||||||
<tr>
|
<tr>
|
||||||
|
<td><input type="checkbox" name="rr_array" value="{{ current_record.rr_name }}"></td>
|
||||||
<td>{{ current_record.rr_name }}</td>
|
<td>{{ current_record.rr_name }}</td>
|
||||||
<td>{{ current_record.rr_ttl }}</td>
|
<td>{{ current_record.rr_ttl }}</td>
|
||||||
<td>{{ current_record.rr_class }}</td>
|
<td>{{ current_record.rr_class }}</td>
|
||||||
|
@ -21,5 +26,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</table>
|
</table>
|
||||||
|
<input type="submit" value="Delete Selected"/>
|
||||||
|
</form>
|
||||||
|
|
||||||
{% endblock body %}
|
{% endblock body %}
|
||||||
|
|
Loading…
Reference in New Issue