{{-- Shared behaviour for admin list pages. Include once in @section('js'), then call CrudTable.bind($('#table'), datatable). Markup it understands inside the table: [data-toggle-status="url"] checkbox → PATCH url, JSON {is_active, message}; updates the sibling [data-status-label] [data-delete-url="url"] button → SweetAlert confirm, DELETE url, reloads the table [data-details-url="url"] button → loads the url's HTML into #crudDetailsModal (see partials/details-modal) --}}