Enhance bulk delete functionality by adding user confirmation before submission and removing debug information from the response when no items are deleted.
This commit is contained in:
@@ -2,12 +2,3 @@
|
||||
{% if errors %}
|
||||
<div class="alert alert-warning">Errors: {{ errors }}</div>
|
||||
{% endif %}
|
||||
|
||||
{% if deleted == 0 and debug_post %}
|
||||
<details>
|
||||
<summary>Debug: POST data received</summary>
|
||||
<pre>{{ debug_post|pprint }}</pre>
|
||||
<p>Computed ids: {{ debug_ids }}</p>
|
||||
<p>App: {{ debug_app }}</p>
|
||||
</details>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user