mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-10 10:29:36 -06:00
* Initial work on #19735 * Work in progress * Remove ClusterRemoveDevicesView (anti-pattern) * Misc cleanup * Fix has_bulk_actions * Fix has_bulk_actions for ObjectChildrenView * Restore clone button * Misc cleanup * Clean up custom bulk actions * Rename individual object actions * Collapse into a single template tag * Fix support for legacy action dicts * Rename bulk attr to multi * clone_button tag should fail silently if view name is invalid * Clean up action buttons * Fix export button label * Replace clone_button with an ObjectAction * Create object actions for adding device/VM components * Move core_sync.html to core app * Remove extra_bulk_buttons from template doc
13 lines
284 B
HTML
13 lines
284 B
HTML
<a href="#"
|
|
hx-get="{{ url }}"
|
|
hx-target="#htmx-modal-content"
|
|
hx-swap="innerHTML"
|
|
hx-select="form"
|
|
class="btn btn-red"
|
|
role="button"
|
|
data-bs-toggle="modal"
|
|
data-bs-target="#htmx-modal"
|
|
>
|
|
<i class="mdi mdi-trash-can-outline" aria-hidden="true"></i> {{ label }}
|
|
</a>
|