@extends('sendportal::layouts.app') @section('heading') {{ __('Workspace Members') }} @endsection @section('content')
{{ __('Current Users') }}
@foreach ($users as $user) @endforeach
{{ __('Name') }} {{ __('Email') }} {{ __('Role') }} {{ __('Actions') }}
{{ $user->name }} {{ $user->email }} {{ ucwords($user->pivot->role) }} @if ($user->id === auth()->user()->id) @else
@csrf @method('delete')
@endif
@if ( auth()->user()->ownsCurrentWorkspace() && count($invitations) > 0)
{{ __('Invited Users') }}
@foreach ($invitations as $invitation) @endforeach
{{ __('Email') }} {{ __('Expires') }}  
{{ $invitation->email }} {{ $invitation->expires_at->format('Y-m-d') }}
@csrf @method('delete')
@endif @if ( auth()->user()->ownsCurrentWorkspace())
{{ __('Invite User') }}
@if(config('sendportal-host.auth.register'))
@csrf
@else

In order to invite users, you have to enable registration in the Sendportal configuration file.

@endif
@endif
@endsection