{{-- actionButtonAttrs (not actionHref) so the button opens the
New-attribute modal via the same data-attr-modal-open JS hook the
top-right button uses. Was actionHref="#new-attribute" — a bare
anchor that only set the URL hash and never opened the modal (the
reported "Create attribute button not working"). --}}
@include('user.partials.empty-state', [
'message' =>
'No attributes match the current filters. Create attributes to store reusable customer fields.',
'resetHref' => url('/attributes'),
'actionButtonAttrs' => 'data-attr-modal-open',
'actionLabel' => 'Create attribute',
])