2021-09-02 16:34:25 +00:00
|
|
|
<?= $this->extend('_layout') ?>
|
2020-07-10 12:20:25 +00:00
|
|
|
|
2020-07-16 10:08:23 +00:00
|
|
|
<?= $this->section('title') ?>
|
|
|
|
<?= lang('MyAccount.changePassword') ?>
|
|
|
|
<?= $this->endSection() ?>
|
|
|
|
|
2020-10-13 16:16:45 +00:00
|
|
|
<?= $this->section('pageTitle') ?>
|
|
|
|
<?= lang('MyAccount.changePassword') ?>
|
|
|
|
<?= $this->endSection() ?>
|
|
|
|
|
2020-07-10 12:20:25 +00:00
|
|
|
|
2020-07-16 10:08:23 +00:00
|
|
|
<?= $this->section('content') ?>
|
2020-07-10 12:20:25 +00:00
|
|
|
|
2021-10-20 14:22:58 +00:00
|
|
|
<form action="<?= route_to('change-password') ?>" method="POST" class="flex flex-col max-w-sm gap-y-4">
|
2021-09-15 15:58:21 +00:00
|
|
|
<?= csrf_field() ?>
|
|
|
|
<Forms.Field
|
|
|
|
name="password"
|
|
|
|
label="<?= lang('User.form.password') ?>"
|
|
|
|
required="true"
|
|
|
|
type="password" />
|
|
|
|
<Forms.Field
|
|
|
|
name="new_password"
|
|
|
|
label="<?= lang('User.form.new_password') ?>"
|
|
|
|
required="true"
|
|
|
|
type="password"
|
|
|
|
autocomplete="new-password" />
|
|
|
|
<Button variant="primary" class="self-end" type="submit"><?= lang('User.form.submit_password_change') ?></Button>
|
|
|
|
</form>
|
2020-07-10 12:20:25 +00:00
|
|
|
|
2020-10-22 17:41:59 +00:00
|
|
|
<?= $this->endSection() ?>
|