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,15 +0,0 @@
{% extends 'utilities/confirmation_form.html' %}
{% load form_helpers %}
{% block title %}Delete Circuits?{% endblock %}
{% block message %}
<p>
Are you sure you want to delete these circuits?
</p>
<ul>
{% for circuit in selected_objects %}
<li><a href="{% url 'circuits:circuit' pk=circuit.pk %}">{{ circuit }}</a></li>
{% endfor %}
</ul>
{% endblock %}

View File

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