@extends('layouts.adminpanel') @section('title') Admin Panel - Users @endsection @section('admin_content')
@if ($users->count() > 0)
All users: ({{ $users->count() }})
@foreach ($users as $user) @if (!$user->is_Admin) @endif @endforeach
ID Name Surname Email Is admin
{{ $user->id }} {{ $user->name }} {{ $user->surname }} {{ $user->email }} {{ $user->is_Admin }} Delete Edit
@else

No users yet.

@endif
@endsection