@extends('backend.layouts.app')
@section('title')
{{ __('users_list') }}
@endsection
@section('content')
@php
$userr = auth()->user();
@endphp
# |
{{ __('name') }} |
{{ __('email') }} |
{{ __('roles') }} |
@if ($userr->can('admin.edit') || $userr->can('admin.delete'))
{{ __('action') }} |
@endif
@forelse ($users as $user)
{{ $loop->index + 1 }} |
{{ $user->name }} |
{{ $user->email }} |
@foreach ($user->roles as $role)
{{ $role->name }}
@endforeach
|
|
@empty
|
@endforelse
{{ $users->links() }}
@endsection