@extends('layouts.app') @section('title', __('app.users')) @section('controller-data', 'common:datatable;users:index') @section('breadcrumb') @endsection @section('content')
@include('flash-message')
@if(count($records) > 0)
@foreach ($records as $record) @endforeach
{{ __('app.name') }} {{ __('app.email') }} {{ __('app.actions') }}
{{ $record->name }} {{ $record->email }}
@method('DELETE') @csrf @if($record->id != $mainUserId) @else @endif
{{ __('app.name') }} {{ __('app.email') }} {{ __('app.actions') }}
@else

{!! __('app.empty_users') !!}

@endif
@endsection