@extends('layouts.app')
@section('content')
@include('role-permission.nav-links')
@if (session('status'))
{{ session('status') }}
@endif
Id |
Name |
Email |
Roles |
Action |
@foreach ($users as $user)
{{ $user->id }} |
{{ $user->name }} |
{{ $user->email }} |
@if (!empty($user->getRoleNames()))
@foreach ($user->getRoleNames() as $rolename)
@endforeach
@endif
|
Edit
Delete
|
@endforeach
@endsection