mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-08 00:28:16 -06:00
16733 fix bulk edit/delete buttons with quick search
This commit is contained in:
parent
8f1ace294c
commit
5feb0a227f
@ -176,6 +176,8 @@ class ObjectListView(BaseMultiObjectView, ActionsMixin, TableMixin):
|
||||
table.columns.hide('pk')
|
||||
return render(request, 'htmx/table.html', {
|
||||
'table': table,
|
||||
'model': model,
|
||||
'actions': actions,
|
||||
})
|
||||
|
||||
context = {
|
||||
|
@ -84,14 +84,14 @@ Context:
|
||||
<div class="card-body">
|
||||
<div class="float-end">
|
||||
{% if 'bulk_edit' in actions %}
|
||||
<div class="bulk-edit-button">
|
||||
<span class="bulk-edit-button">
|
||||
{% bulk_edit_button model query_params=request.GET %}
|
||||
</div>
|
||||
</span>
|
||||
{% endif %}
|
||||
{% if 'bulk_delete' in actions %}
|
||||
<div class="bulk-delete-button">
|
||||
<span class="bulk-delete-button">
|
||||
{% bulk_delete_button model query_params=request.GET %}
|
||||
</div>
|
||||
</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="form-check">
|
||||
|
Loading…
Reference in New Issue
Block a user