mirror of
https://code.castopod.org/adaures/castopod
synced 2025-05-10 16:25:47 +00:00

- enhance plugin card ui - refactor components to be more consistent - invert toggler label for better UX - edit view components regex
31 lines
902 B
PHP
31 lines
902 B
PHP
<?= $this->extend('_layout') ?>
|
|
|
|
<?= $this->section('title') ?>
|
|
<?= lang('MyAccount.changePassword') ?>
|
|
<?= $this->endSection() ?>
|
|
|
|
<?= $this->section('pageTitle') ?>
|
|
<?= lang('MyAccount.changePassword') ?>
|
|
<?= $this->endSection() ?>
|
|
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
<form action="<?= route_to('change-password') ?>" method="POST" class="flex flex-col max-w-sm gap-y-4">
|
|
<?= csrf_field() ?>
|
|
<x-Forms.Field
|
|
name="password"
|
|
label="<?= esc(lang('User.form.password')) ?>"
|
|
isRequired="true"
|
|
type="password" />
|
|
<x-Forms.Field
|
|
name="new_password"
|
|
label="<?= esc(lang('User.form.new_password')) ?>"
|
|
isRequired="true"
|
|
type="password"
|
|
autocomplete="new-password" />
|
|
<x-Button variant="primary" class="self-end" type="submit"><?= lang('User.form.submit_password_change') ?></x-Button>
|
|
</form>
|
|
|
|
<?= $this->endSection() ?>
|