mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-22 16:51:20 +00:00

- enhance plugin card ui - refactor components to be more consistent - invert toggler label for better UX - edit view components regex
32 lines
836 B
PHP
32 lines
836 B
PHP
<?php declare(strict_types=1);
|
|
|
|
?>
|
|
<?= helper('form') ?>
|
|
<?= $this->extend(config('Auth')->views['layout']) ?>
|
|
|
|
<?= $this->section('title') ?><?= lang('Auth.emailActivateTitle') ?><?= $this->endSection() ?>
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
<p><?= lang('Auth.emailActivateBody') ?></p>
|
|
|
|
<form action="<?= site_url('auth/a/verify') ?>" method="POST" class="flex flex-col w-full gap-y-4">
|
|
<?= csrf_field() ?>
|
|
|
|
<!-- Code -->
|
|
<x-Forms.Field
|
|
name="token"
|
|
label="<?= esc(lang('Auth.token')) ?>"
|
|
isRequired="true"
|
|
inputmode="numeric"
|
|
pattern="[0-9]*"
|
|
autocomplete="one-time-code"
|
|
autofocus="autofocus"
|
|
placeholder="000000"
|
|
/>
|
|
|
|
<x-Button variant="primary" type="submit" class="self-end"><?= lang('Auth.send') ?></x-Button>
|
|
</form>
|
|
|
|
<?= $this->endSection() ?>
|