@extends('layouts.frontend') @section('content')
@can('role_create') @endcan
{{ trans('cruds.role.title_singular') }} {{ trans('global.list') }}
@foreach($roles as $key => $role) @endforeach
{{ trans('cruds.role.fields.id') }} {{ trans('cruds.role.fields.title') }} {{ trans('cruds.role.fields.permissions') }}  
{{ $role->id ?? '' }} {{ $role->title ?? '' }} @foreach($role->permissions as $key => $item) {{ $item->title }} @endforeach @can('role_show') {{ trans('global.view') }} @endcan @can('role_edit') {{ trans('global.edit') }} @endcan @can('role_delete')
@endcan
@endsection @section('scripts') @parent @endsection