Consolidated bulk delete views to use a single template

This commit is contained in:
Jeremy Stretch
2016-05-11 15:18:39 -04:00
parent bacde242aa
commit a0ffd71755
18 changed files with 18 additions and 200 deletions

View File

@@ -1,13 +0,0 @@
{% extends 'utilities/confirmation_form.html' %}
{% load form_helpers %}
{% block title %}Delete Secrets?{% endblock %}
{% block message %}
<p>Are you sure you want to delete these secrets?</p>
<ul>
{% for secret in selected_objects %}
<li><a href="{% url 'secrets:secret' pk=secret.pk %}">{{ secret }}</a></li>
{% endfor %}
</ul>
{% endblock %}