@extends('layouts.admin') @section('content')
{{ trans('cruds.role.fields.id') }} | {{ trans('cruds.role.fields.title') }} | {{ trans('cruds.role.fields.permissions') }} | ||
---|---|---|---|---|
{{ $i }} | {{ $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 | @php $i++; @endphp