@extends('oxygen::layouts.master-dashboard') @section('breadcrumbs') {{ lotus()->breadcrumbs([ ['Dashboard', route('dashboard')], [$pageTitle, null, true] ]) }} @stop @section('pageMainActions') @include('oxygen::dashboard.partials.searchField') {{-- Add New--}} @stop @section('content') @include('oxygen::dashboard.partials.table-allItems', [ 'tableHeader' => [ 'ID', 'Name', 'Email', 'Created', 'Actions', 'Security', 'Danger Zone' ] ]) @foreach ($allItems as $item) {{ $item->id }} {{ $item->full_name }} {{ $item->email }} @if ($item->isDisabled()) DISABLED @endif @if ($item->created_at) {{ standard_datetime($item->created_at) }} @endif @if ($item->isMySelf()) You @else Edit @endif @if ($item->isMySelf()) You @else
Edit Password
@csrf {{ method_field('put') }} @if ($item->isEnabled()) @else @endif
@endif @if (auth()->user()->can('delete-users') && $item->id !== auth()->id())
{{ method_field('delete') }} @csrf
@endif @endforeach @stop