2020-07-10 12:20:25 +00:00
|
|
|
<?= $this->extend('admin/_layout') ?>
|
|
|
|
|
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
|
|
|
|
2020-08-14 18:27:57 +00:00
|
|
|
<?= form_open(route_to('change-password'), [
|
|
|
|
'class' => 'flex flex-col max-w-sm',
|
|
|
|
]) ?>
|
|
|
|
<?= csrf_field() ?>
|
|
|
|
|
|
|
|
<?= form_label(lang('User.form.password'), 'password') ?>
|
|
|
|
<?= form_input([
|
|
|
|
'id' => 'password',
|
|
|
|
'name' => 'password',
|
|
|
|
'class' => 'form-input mb-4',
|
|
|
|
'required' => 'required',
|
|
|
|
'type' => 'password',
|
|
|
|
]) ?>
|
|
|
|
|
|
|
|
<?= form_label(lang('User.form.new_password'), 'new_password') ?>
|
|
|
|
<?= form_input([
|
|
|
|
'id' => 'new_password',
|
|
|
|
'name' => 'new_password',
|
|
|
|
'class' => 'form-input mb-4',
|
|
|
|
'required' => 'required',
|
|
|
|
'type' => 'password',
|
2021-05-06 14:00:48 +00:00
|
|
|
|
2020-08-14 18:27:57 +00:00
|
|
|
'autocomplete' => 'new-password',
|
|
|
|
]) ?>
|
|
|
|
|
2020-10-02 15:38:16 +00:00
|
|
|
<?= button(
|
|
|
|
lang('User.form.submit_password_change'),
|
2021-05-06 14:00:48 +00:00
|
|
|
'',
|
2020-10-02 15:38:16 +00:00
|
|
|
['variant' => 'primary'],
|
2021-05-06 14:00:48 +00:00
|
|
|
['type' => 'submit', 'class' => 'self-end'],
|
2020-10-02 15:38:16 +00:00
|
|
|
) ?>
|
2020-08-14 18:27:57 +00:00
|
|
|
|
|
|
|
<?= form_close() ?>
|
2020-07-10 12:20:25 +00:00
|
|
|
|
2020-10-22 17:41:59 +00:00
|
|
|
<?= $this->endSection() ?>
|