CakePHP 5.4 app for live polls: create via email without login, manage via secret admin link, join via code. Includes slide types (choice, wordcloud, open, scale, content), presenter mode, CSV export, captcha, throttling, tests and Gitea CI/deploy workflow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
27 lines
959 B
PHP
27 lines
959 B
PHP
<?php
|
||
/**
|
||
* Join form (/join, /p).
|
||
*
|
||
* @var \App\View\AppView $this
|
||
* @var string $code
|
||
*/
|
||
$this->assign('title', __('Teilnehmen'));
|
||
?>
|
||
<section class="card card--narrow center">
|
||
<h1><?= __('Teilnehmen') ?></h1>
|
||
<p class="lead"><?= __('Gib den Code ein, der in der Präsentation angezeigt wird.') ?></p>
|
||
<?= $this->Form->create(null, ['url' => ['_name' => 'join'], 'type' => 'get']) ?>
|
||
<?= $this->Form->control('code', [
|
||
'label' => ['text' => __('Teilnahme-Code'), 'class' => 'sr-only'],
|
||
'value' => $code,
|
||
'placeholder' => 'K7P 2QX',
|
||
'class' => 'input-code input-code--big',
|
||
'autocomplete' => 'off',
|
||
'autocapitalize' => 'characters',
|
||
'autofocus' => true,
|
||
'required' => true,
|
||
]) ?>
|
||
<?= $this->Form->button(__('Los geht’s'), ['class' => 'button button--primary button--block']) ?>
|
||
<?= $this->Form->end() ?>
|
||
</section>
|