@extends('layouts.main') @section('content') @unless($invite_mode)
Invitations Disabled

User invitations are currently disabled on this site. You cannot send new invitations at this time.

Back to Profile
@else
Send New Invitation
{{ $user_invites_left }} invites left
Back to Invitations
@if(session('error')) @endif @if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @unless($can_send_invites)
No Invitations Available

You have used all of your available invitations. You cannot send new invitations at this time.

@else
@csrf
Available Invitations: You have {{ $user_invites_left }} invitation{{ $user_invites_left != 1 ? 's' : '' }} remaining. @if($user_invites_left == 1) This is your last invitation, so use it wisely! @endif
@error('email')

{{ $message }}

@enderror

The person will receive an invitation email at this address.

@error('expiry_days')

{{ $message }}

@enderror

How long the invitation will remain valid.

@if(isset($user_roles) && !empty($user_roles))
@error('role')

{{ $message }}

@enderror

The role to assign to the user when they accept the invitation.

@endif
How it works:
  • The recipient will receive an email with a secure invitation link
  • They can use this link to create their account within the specified time period
  • Once the time expires, the invitation link becomes invalid
  • You can track the status of all your invitations from the main invitations page
Cancel
@endunless
@endif @endsection