2021-05-17 16:27:27 -04:00
{% extends 'base/layout.html' %}
2017-07-13 16:31:47 -04:00
{% load helpers %}
{% block title %}Delete {{ table.rows|length }} {{ obj_type_plural|bettertitle }}?{% endblock %}
{% block content %}
2021-07-11 21:24:36 -04:00
< div class = "container-md px-0" >
< div class = "alert alert-danger mb-3" role = "alert" >
< h4 class = "alert-heading" > Confirm Bulk Deletion< / h4 >
< hr / >
< div >
< strong > Warning:< / strong > The following operation will delete < strong > {{ table.rows|length }}< / strong > {{ obj_type_plural }}. Please carefully review the {{ obj_type_plural }} to be deleted and confirm below.
2017-07-13 16:31:47 -04:00
< / div >
2021-07-11 21:24:36 -04:00
{% block message_extra %}{% endblock %}
2017-07-13 16:31:47 -04:00
< / div >
< / div >
2021-07-11 21:24:36 -04:00
< div class = "container-xl px-0" >
{% include 'inc/table.html' %}
< div class = "row mt-3" >
< form action = "" method = "post" >
{% csrf_token %}
{% for field in form.hidden_fields %}
{{ field }}
{% endfor %}
< div class = "text-end" >
< a href = "{{ return_url }}" class = "btn btn-outline-dark" > Cancel< / a >
< button type = "submit" name = "_confirm" class = "btn btn-danger" > Delete {{ table.rows|length }} {{ obj_type_plural }}< / button >
2017-07-13 16:31:47 -04:00
< / div >
2021-07-11 21:24:36 -04:00
< / form >
2017-07-13 16:31:47 -04:00
< / div >
< / div >
2021-05-17 16:27:27 -04:00
{% endblock content %}