@extends('layouts.admin') @section('content') @can('role_create')
{{ trans('global.add') }} {{ trans('global.role.title_singular') }}
@endcan
{{ trans('global.role.title_singular') }} {{ trans('global.list') }}
@foreach($roles as $key => $role) @endforeach
{{ trans('global.role.fields.title') }} {{ trans('global.role.fields.permissions') }}  
{{ $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
@section('scripts') @parent @endsection @endsection