@extends('laratrust::panel.layout') @section('title', 'Roles Assignment') @section('content')
User model to assign roles/permissions
@if(config('laratrust.panel.assign_permissions_to_user'))@endif @foreach ($users as $user) @if(config('laratrust.panel.assign_permissions_to_user')) @endif @endforeach
Id Name # Roles# Permissions
{{$user->getKey()}} {{$user->name ?? 'The model doesn\'t have a `name` attribute'}} {{$user->roles_count}} {{$user->permissions_count}} Edit
@if ($modelKey) {{ $users->appends(['model' => $modelKey])->links('laratrust::panel.pagination') }} @endif
@endsection