mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-24 17:38:37 -06:00
Fixes #14392: Fix admin UI bulk actions
This commit is contained in:
parent
95a8415e2d
commit
9d7192202d
@ -1,6 +1,7 @@
|
|||||||
{% comment %}
|
{% comment %}
|
||||||
Include a hidden field of the same name to ensure that unchecked checkboxes
|
Include a hidden field of the same name to ensure that unchecked checkboxes
|
||||||
are always included in the submitted form data.
|
are always included in the submitted form data. Omit fields names
|
||||||
|
_selected_action to avoid breaking the admin UI.
|
||||||
{% endcomment %}
|
{% endcomment %}
|
||||||
<input type="hidden" name="{{ widget.name }}" value="">
|
{% if widget.name != '_selected_action' %}<input type="hidden" name="{{ widget.name }}" value="">{% endif %}
|
||||||
{% include "django/forms/widgets/input.html" %}
|
{% include "django/forms/widgets/input.html" %}
|
||||||
|
Loading…
Reference in New Issue
Block a user