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>
24 lines
882 B
PHP
24 lines
882 B
PHP
<?php
|
|
/**
|
|
* Re-send admin links.
|
|
*
|
|
* @var \App\View\AppView $this
|
|
* @var array<string, mixed> $captcha
|
|
*/
|
|
$this->assign('title', __('Admin-Link verloren?'));
|
|
?>
|
|
<section class="card card--narrow">
|
|
<h1><?= __('Admin-Link verloren?') ?></h1>
|
|
<p><?= __('Gib die E-Mail-Adresse ein, mit der du deine Umfragen erstellt hast. Wir schicken dir alle zugehörigen Admin-Links erneut zu.') ?></p>
|
|
<?= $this->Form->create(null, ['url' => ['_name' => 'recover']]) ?>
|
|
<?= $this->Form->control('email', [
|
|
'label' => __('E-Mail-Adresse'),
|
|
'type' => 'email',
|
|
'required' => true,
|
|
'autocomplete' => 'email',
|
|
]) ?>
|
|
<?= $this->element('captcha', ['captcha' => $captcha]) ?>
|
|
<?= $this->Form->button(__('Links zuschicken'), ['class' => 'button button--primary']) ?>
|
|
<?= $this->Form->end() ?>
|
|
</section>
|