@extends('layouts.admin') @section('content') @can('user_create')
@endcan{{ trans('cruds.user.fields.id') }} | {{ trans('cruds.user.fields.name') }} | {{ trans('cruds.user.fields.email') }} | {{ trans('cruds.user.fields.email_verified_at') }} | {{ trans('cruds.user.fields.roles') }} | ||
---|---|---|---|---|---|---|
{{ $user->id ?? '' }} | {{ $user->name ?? '' }} | {{ $user->email ?? '' }} | {{ $user->email_verified_at ?? '' }} | @foreach($user->roles as $key => $item) {{ $item->title }} @endforeach | @can('user_show') {{ trans('global.view') }} @endcan @can('user_edit') {{ trans('global.edit') }} @endcan @can('user_delete') @endcan |