@extends('admin.layouts.main') @section('content')

{{ trans('messages.Roles') }}

@can('role_create') @endcan
@foreach ($roles as $key => $role) @if ($role->id != 1) @endif @endforeach
# {{ trans('messages.Name') }} {{ trans('messages.Options') }}
{{ $key + 1 + ($roles->currentPage() - 1) * $roles->perPage() }} {{ $role->name }} @can('role_delete')
@csrf @method('DELETE')
@endcan @can('role_view') @endcan @can('role_update') @endcan @can('role_delete') @endcan
{{ $roles->withQueryString()->links('pagination::bootstrap-4') }}
@endsection @section('modal') @endsection @section('script') @endsection