@section('optional_css') @endsection @section('optional_js') @endsection

{{ __('User') }}

@if(session('success')) {{ session('success') }} @endif @if(session('delete')) {{ session('delete') }} @endif {{ __('User') }} @can('user.create') {{ __('Create') }} {{ __('User') }} @endcan
@forelse($users as $user) @empty @endforelse
{{ __('Name') }} {{ __('Email') }} {{ __('Role') }} {{ __('Action') }}
{{ $user->name }} {{ $user->email }} {{ $user->roles->pluck("name")->first() }} @can('user.edit') {{ __('Edit') }} @endcan @can('user.destroy')
@csrf @method('delete') {{ __('Delete') }}
@endcan
{{ __('Empty') }}
{{ $users->links('vendor.pagination.bootstrap-4') }}