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
28 lines
766 B
PHP
28 lines
766 B
PHP
<?php declare(strict_types=1);
|
|
|
|
?>
|
|
<?= 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() ?>
|
|
|
|
<x-Forms.Field
|
|
name="email"
|
|
label="<?= esc(lang('Auth.email')) ?>"
|
|
isRequired="true"
|
|
inputmode="email"
|
|
autocomplete="email"
|
|
autofocus="autofocus"
|
|
value="<?= old('email', auth()->user()->email ?? null) ?>"
|
|
/>
|
|
|
|
<x-Button variant="primary" type="submit" class="self-end"><?= lang('Auth.send') ?></x-Button>
|
|
</form>
|
|
|
|
<?= $this->endSection() ?>
|