href="{{ $action->hasUrl() ? $action->getUrl() : 'javascript:void(0);' }}" @if($action->getLabel()) data-bs-toggle="tooltip" data-bs-original-title="{{ $action->getLabel() }}" @endif @if ($action->isAction()) data-dt-single-action data-method="{{ $action->getActionMethod() }}" @if ($action->isConfirmation()) data-confirmation-modal="{{ $action->isConfirmation() ? 'true' : 'false' }}" data-confirmation-modal-title="{{ $action->getConfirmationModalTitle() }}" data-confirmation-modal-message="{{ $action->getConfirmationModalMessage() }}" data-confirmation-modal-button="{{ $action->getConfirmationModalButton() }}" data-confirmation-modal-cancel-button="{{ $action->getConfirmationModalCancelButton() }}" @endif @elseif($action->shouldOpenUrlInNewTable()) target="_blank" @endif {!! Html::attributes($action->getAttributes()) !!}