@extends('tyro-dashboard::layouts.admin') @section('title', $role->name) @section('breadcrumb') Dashboard / Roles / {{ $role->name }} @endsection @section('content')

Privileges ({{ $role->privileges->count() }})

@if($role->privileges->count())
@foreach($role->privileges as $privilege) @endforeach
Privilege Slug
{{ $privilege->name }} {{ $privilege->slug }}
@else

No privileges assigned to this role.

Assign Privileges
@endif

Users with this Role ({{ $role->users->count() }})

@if($role->users->count()) @if($role->users->count() > 10)
View All {{ $role->users->count() }} Users
@endif @else

No users have this role.

@endif
@endsection