mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-19 13:01:19 +00:00
27 lines
772 B
PHP
27 lines
772 B
PHP
<?= helper('form') ?>
|
|
<?= $this->extend(config('Auth')->views['layout']) ?>
|
|
|
|
<?= $this->section('title') ?><?= 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() ?>
|
|
|
|
<Forms.Field
|
|
name="token"
|
|
label="<?= lang('Auth.code') ?>"
|
|
helper="<?= lang('Auth.emailConfirmCode') ?>"
|
|
pattern="[0-9]*"
|
|
placeholder="000000"
|
|
required="true"
|
|
type="number"
|
|
inputmode="numeric"
|
|
autocomplete="one-time-code"
|
|
/>
|
|
|
|
<Button variant="primary" type="submit" class="self-end"><?= lang('Auth.confirm') ?></Button>
|
|
</form>
|
|
|
|
<?= $this->endSection() ?>
|