Files
ladill-meet/resources/views/meet/admin/members/create.blade.php
T
isaacclad 23e355259b
Deploy Ladill Meet / deploy (push) Successful in 50s
Move Team, Security, and Webhooks under Meet Settings.
Drop them from the admin sidebar, surface Team on the settings page, remove
the unused branches message, and add Settings back-links on those screens.
2026-07-16 00:25:26 +00:00

46 lines
2.3 KiB
PHP

<x-app-layout title="Add member">
<div class="mx-auto max-w-lg">
<div class="mb-4 text-sm text-slate-500">
<a href="{{ route('meet.members.index') }}" class="font-medium text-indigo-600 hover:text-indigo-800"> Team</a>
</div>
<h1 class="text-xl font-semibold text-slate-900">Invite team member</h1>
<form method="POST" x-data action="{{ route('meet.members.store') }}" class="mt-6 space-y-4 rounded-2xl border border-slate-200 bg-white p-6">
@csrf
@if (! empty($mailboxOptions))
<div>
<label class="block text-sm font-medium text-slate-700">From a Ladill mailbox</label>
<select x-on:change="if ($event.target.value) { $refs.email.value = $event.target.value }"
class="mt-1 w-full rounded-lg border-slate-300 text-sm">
<option value="">Choose a mailbox…</option>
@foreach ($mailboxOptions as $address)
<option value="{{ $address }}">{{ $address }}</option>
@endforeach
</select>
<p class="mt-1 text-xs text-slate-500">Or type any email below.</p>
</div>
@endif
<div>
<label class="block text-sm font-medium text-slate-700">Email address</label>
<input type="email" name="email" x-ref="email" value="{{ old('email') }}" required
class="mt-1 w-full rounded-lg border-slate-300 text-sm"
placeholder="colleague@company.com">
<p class="mt-1 text-xs text-slate-500">They will receive an email to accept and join your Meet organization.</p>
</div>
<div>
<label class="block text-sm font-medium text-slate-700">Role</label>
<select name="role" class="mt-1 w-full rounded-lg border-slate-300 text-sm">
@foreach ($roles as $value => $label)
<option value="{{ $value }}" @selected(old('role') === $value)>{{ $label }}</option>
@endforeach
</select>
</div>
<button type="submit" class="btn-primary">Send invitation</button>
</form>
</div>
</x-app-layout>