mirror of
https://code.castopod.org/adaures/castopod
synced 2025-05-22 10:02:01 +00:00
27 lines
794 B
PHP
27 lines
794 B
PHP
<?= helper('form') ?>
|
|
<?= $this->extend(config('Auth')->views['layout']) ?>
|
|
|
|
<?= $this->section('pageTitle') ?><?= lang('Auth.emailEnterCode') ?> <?= $this->endSection() ?>
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
<form action="<?= url_to('auth-action-verify') ?>" method="POST" class="flex flex-col w-full gap-y-4">
|
|
<?= csrf_field() ?>
|
|
|
|
<x-Forms.Field
|
|
name="token"
|
|
label="<?= esc(lang('Auth.code')) ?>"
|
|
helper="<?= esc(lang('Auth.emailConfirmCode')) ?>"
|
|
pattern="[0-9]*"
|
|
placeholder="000000"
|
|
isRequired="true"
|
|
type="number"
|
|
inputmode="numeric"
|
|
autocomplete="one-time-code"
|
|
/>
|
|
|
|
<x-Button variant="primary" type="submit" class="self-end"><?= lang('Auth.confirm') ?></x-Button>
|
|
</form>
|
|
|
|
<?= $this->endSection() ?>
|