@can('view', $role)
@include('share.buttons.show', ['routeName' => 'roles.show', 'params' => $role])
@endcan @can('update', $role)
@include('share.buttons.edit', ['routeName' => 'roles.edit', 'params' => $role])
@endcan @can('delete', $role)
@include('share.buttons.destroy', ['routeName' => 'roles.destroy', 'params' => $role])
@endcan