@extends('layouts.app') @section('content') @include('role-permission.nav-links')
@if (session('status'))
{{ session('status') }}
@endif

Users Add User

@foreach ($users as $user) @endforeach
Id Name Email Roles Action
{{ $user->id }} {{ $user->name }} {{ $user->email }} @if (!empty($user->getRoleNames())) @foreach ($user->getRoleNames() as $rolename) @endforeach @endif Edit Delete
@endsection