@canany(['email.update', 'email.delete'])
    <div class="btn-group" role="group">
        @can('email.update')
            <button type="button" class="btn btn-sm btn-outline-primary edit-template" data-url="{{ route('admin.email-templates.edit', $t) }}">Edit</button>
        @endcan
        @can('email.delete')
            <button type="button" class="btn btn-sm btn-outline-danger delete-template" data-url="{{ route('admin.email-templates.destroy', $t) }}">Delete</button>
        @endcan
    </div>
@endcanany
