2017-07-13 16:31:47 -04:00
{% extends '_base.html' %}
{% load helpers %}
{% block title %}Delete {{ table.rows|length }} {{ obj_type_plural|bettertitle }}?{% endblock %}
{% block content %}
< div class = "row" >
< div class = "col-md-8 col-md-offset-2" >
< div class = "panel panel-danger" >
< div class = "panel-heading" > < strong > Confirm Bulk Deletion< / strong > < / div >
< div class = "panel-body" >
2018-01-31 10:25:06 -05:00
< p > < strong > Warning:< / strong > The following operation will delete {{ table.rows|length }} {{ obj_type_plural }}. Please carefully review the {{ obj_type_plural }} to be deleted and confirm below.< / p >
{% block message_extra %}{% endblock %}
2017-07-13 16:31:47 -04:00
< / div >
< / div >
< / div >
< / div >
< div class = "row" >
< div class = "col-md-8 col-md-offset-2" >
< div class = "panel panel-default" >
{% include 'inc/table.html' %}
< / div >
< / div >
< / div >
< div class = "row" >
< div class = "col-md-6 col-md-offset-3" >
2017-09-01 12:25:57 -04:00
< form action = "" method = "post" class = "form" >
2017-07-13 16:31:47 -04:00
{% csrf_token %}
{% for field in form.hidden_fields %}
{{ field }}
{% endfor %}
< div class = "text-center" >
< button type = "submit" name = "_confirm" class = "btn btn-danger" > Delete these {{ table.rows|length }} {{ obj_type_plural }}< / button >
< a href = "{{ return_url }}" class = "btn btn-default" > Cancel< / a >
< / div >
< / form >
< / div >
< / div >
{% endblock %}