@extends('oxygen::layouts.master-dashboard') @section('content') {{ lotus()->pageHeadline($pageTitle) }} @include('oxygen::account.access-permissions-breadcrumbs', ['breadcrumbs' => ['User Groups', '/account/groups'] ]) @if ($user->can('add-group-users'))

@else

You don't have permissions to add new users. Please contact a group Admin to add new users.


@endif
Users in this Group
@if($role->users->isEmpty()) {{ lotus()->emptyStatePanel() }} @else @foreach ($role->users as $currentUser) @endforeach
Name Email Actions
{{ $currentUser->name }} @if ($user->email == $currentUser->email) You @endif {{ $currentUser->email }} @if ($role->name === 'super-admin' && count($role->users) === 1) {{-- Last Super admin can't leave the role --}} Remove User @else
@endif
@endif
@include('oxygen::groups.add-users-to-group') @endsection