mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-19 13:01:19 +00:00

- enhance plugin card ui - refactor components to be more consistent - invert toggler label for better UX - edit view components regex
30 lines
693 B
PHP
30 lines
693 B
PHP
<?php declare(strict_types=1);
|
|
|
|
?>
|
|
<?= helper('form') ?>
|
|
<?= $this->extend(config('Auth')->views['layout']) ?>
|
|
|
|
<?= $this->section('title') ?>
|
|
<?= lang('Auth.set_password') ?>
|
|
<?= $this->endSection() ?>
|
|
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
<form action="<?= url_to('magic-link-set-password') ?>" method="POST" class="flex flex-col w-full gap-y-4">
|
|
<?= csrf_field() ?>
|
|
|
|
<x-Forms.Field
|
|
name="new_password"
|
|
label="<?= esc(lang('Auth.password')) ?>"
|
|
type="password"
|
|
isRequired="true"
|
|
inputmode="text"
|
|
autocomplete="new-password" />
|
|
|
|
<x-Button variant="primary" type="submit" class="self-end"><?= lang('Auth.set_password') ?></x-Button>
|
|
|
|
</form>
|
|
|
|
<?= $this->endSection() ?>
|