@section('title', (isset($page_title) ? $page_title . ' | ' : '') . config('app.name')) @section('breadcrumb', isset($page_title) ? $page_title : '')
@can('role-create')
@endcan
@forelse ($list as $key => $data) @empty @endforelse
# Name Permissions Actions
{{ $key + 1 + ($list->currentPage() - 1) * $list->perPage() }} {{ $data->name }} @foreach ($data->permissions as $permission) {{ ucwords(str_replace(['_', '-'], ' ', $permission->name)) }} @endforeach @can('role-edit') @endcan