Fix register page

This commit is contained in:
Javier Feliz 2025-08-02 00:36:39 -04:00
parent 8c3c2105dd
commit f2b4860d00

View File

@ -1,5 +1,12 @@
<div class="flex flex-col gap-6">
@if($invitationAccepted)
@if(empty($code))
<x-auth-header :title="__('Invitation Required')" :description="__('An invitation is required to create an account')" />
<div class="text-center">
<p class="text-sm text-zinc-600 dark:text-zinc-400 mb-4">{{ __('Registration is by invitation only. Please contact an administrator to receive an invitation.') }}</p>
<flux:link :href="route('login')" wire:navigate class="text-sm">{{ __('Return to login') }}</flux:link>
</div>
@elseif($invitationAccepted)
<x-auth-header :title="__('Invitation Already Used')" :description="__('This invitation has already been accepted')" />
<div class="text-center">