@extends('layouts.admin') @section('content') @can('role_create')
@endcan{{ 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 |