@extends('layouts.guest_game') @section('title', __('Запись на пробный ЕНТ')) {{-- TrialEntSignupController::publicForm(): the public sign-up for anyone without an account. guest_game shows no flash toasts, so errors and the confirmation are rendered here. --}} @section('content')

{{ __('Запись на пробный ЕНТ') }}

@if ($done)
{{ __('Вы записаны!') }}

{{ $done['full_name'] }} — {{ $done['title'] }}, {{ $done['date'] }}, {{ $done['time'] }}, {{ $done['room'] }}.

@endif @if (session('error'))
{{ session('error') }}
@endif @if ($sessions === []) @unless ($done)
{{ __('Сейчас запись на пробный ЕНТ не открыта.') }}
@endunless @else
@csrf
{{ __('Выберите время и кабинет') }}
@foreach ($sessions as $s)
{{ $s->title }} · {{ date('d.m.Y', strtotime($s->session_date)) }}, {{ substr($s->begin_time, 0, 5) }}–{{ substr($s->end_time, 0, 5) }}
@if ($s->note)
{{ $s->note }}
@endif @foreach ($s->rooms as $r)
free === 0) @checked((int) old('room_id') === (int) $r->id) required>
@endforeach
@endforeach
{{-- Honeypot: off-screen, so people never fill it in. --}}
@endif @endsection