controllers/taxes/_list_toolbar.htm
<div data-control="toolbar">
<a href="<?= Backend::url('lovata/shopaholic/taxes/create') ?>" class="btn btn-primary oc-icon-plus">
<?= e(trans('backend::lang.form.create')) ?>
</a>
<a href="<?= Backend::url('lovata/shopaholic/taxes/reorder') ?>" class="btn btn-info oc-icon-exchange">
<?= e(trans('backend::lang.reorder.default_title')) ?>
</a>
<button
class="btn btn-default oc-icon-trash-o"
disabled="disabled"
onclick="$(this).data('request-data', {
checked: $('.control-list').listWidget('getChecked')
})"
data-request="onDelete"
data-request-confirm="<?= e(trans('backend::lang.list.delete_selected_confirm')) ?>"
data-trigger-action="enable"
data-trigger=".control-list input[type=checkbox]"
data-trigger-condition="checked"
data-request-success="$(this).prop('disabled', true)"
data-stripe-load-indicator>
<?= e(trans('backend::lang.list.delete_selected')) ?>
</button>
<?= $this->fireViewEvent('lovata.backend.extend_list_toolbar', [$this]) ?>
</div>