Files
ladill-meet/resources/views/meet/webinar/registrations.blade.php
T
isaaccladandCursor 965fb992e9
Deploy Ladill Meet / deploy (push) Failing after 7s
Initial Ladill Meet release.
Phases 0–18: core meetings, webinar, breakouts, team chat, live streaming, town hall, billing, and Ladill Mail calendar wiring.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 23:35:29 +00:00

31 lines
1.7 KiB
PHP

<x-app-layout title="Webinar registrations">
<div class="mx-auto max-w-2xl">
<div class="flex items-center justify-between">
<div>
<h1 class="text-xl font-semibold text-slate-900">Registrations</h1>
<p class="text-sm text-slate-500">{{ $room->title }}</p>
</div>
<a href="{{ route('meet.webinar.register', $room) }}" target="_blank" class="text-sm text-indigo-600 hover:underline">Public registration page</a>
</div>
<ul class="mt-6 divide-y divide-slate-100 rounded-2xl border border-slate-200 bg-white">
@forelse ($registrations as $registration)
<li class="flex items-center justify-between px-6 py-4 text-sm">
<div>
<p class="font-medium">{{ $registration->display_name }}</p>
<p class="text-slate-500">{{ $registration->email }} · {{ ucfirst($registration->status) }}</p>
</div>
@if ($registration->status === 'pending')
<div class="flex gap-2">
<form method="POST" action="{{ route('meet.webinar.registrations.approve', [$room, $registration]) }}">@csrf<button class="text-emerald-600 hover:underline">Approve</button></form>
<form method="POST" action="{{ route('meet.webinar.registrations.reject', [$room, $registration]) }}">@csrf<button class="text-red-600 hover:underline">Reject</button></form>
</div>
@endif
</li>
@empty
<li class="px-6 py-8 text-center text-slate-500">No registrations yet.</li>
@endforelse
</ul>
</div>
</x-app-layout>