mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-22 16:51:20 +00:00
25 lines
718 B
PHP
25 lines
718 B
PHP
![]() |
<?= helper('form') ?>
|
||
|
<?= $this->extend(config('Auth')->views['layout']) ?>
|
||
|
|
||
|
<?= $this->section('title') ?><?= lang('Auth.useMagicLink') ?> <?= $this->endSection() ?>
|
||
|
|
||
|
<?= $this->section('content') ?>
|
||
|
|
||
|
<form actions="<?= url_to('magic-link') ?>" method="POST" class="flex flex-col w-full gap-y-4">
|
||
|
<?= csrf_field() ?>
|
||
|
|
||
|
<Forms.Field
|
||
|
name="email"
|
||
|
label="<?= lang('Auth.email') ?>"
|
||
|
required="true"
|
||
|
inputmode="email"
|
||
|
autocomplete="email"
|
||
|
autofocus="autofocus"
|
||
|
value="<?= old('email', auth()->user()->email ?? null) ?>"
|
||
|
/>
|
||
|
|
||
|
<Button variant="primary" type="submit" class="self-end"><?= lang('Auth.send') ?></Button>
|
||
|
</form>
|
||
|
|
||
|
<?= $this->endSection() ?>
|