29 files changed
+876
-89
No files matched your search
@@ -0,0 +1,20 @@
|
||||
<x-layouts.public :business="$business">
|
||||
<main class="mx-auto flex min-h-screen max-w-md flex-col justify-center px-6 py-16">
|
||||
<p class="text-[10px] font-bold uppercase tracking-[0.3em] text-accent-foreground">{{ $business->name }}</p>
|
||||
<h1 class="mt-3 text-4xl font-black tracking-tight">Finish your owner setup</h1>
|
||||
<p class="mt-4 text-sm leading-6 text-muted">Choose a password for {{ $invitation->staff->user->email }} to access the business workspace.</p>
|
||||
@if ($errors->any())
|
||||
<div class="mt-6 rounded-tile border border-red-200 bg-red-50 p-4 text-sm text-red-700">{{ $errors->first() }}</div>
|
||||
@endif
|
||||
<form method="POST" action="{{ route('owner.invite.accept', $invitation->token) }}" class="mt-8 space-y-5">
|
||||
@csrf
|
||||
<label class="block text-sm font-bold">Password
|
||||
<input name="password" type="password" minlength="8" required class="mt-2 w-full rounded-tile border border-line bg-white px-4 py-3">
|
||||
</label>
|
||||
<label class="block text-sm font-bold">Confirm password
|
||||
<input name="password_confirmation" type="password" minlength="8" required class="mt-2 w-full rounded-tile border border-line bg-white px-4 py-3">
|
||||
</label>
|
||||
<x-ui.button type="submit" class="w-full">Open owner workspace</x-ui.button>
|
||||
</form>
|
||||
</main>
|
||||
</x-layouts.public>
|
||||
Reference in new issue
Block a user