mirror of
https://code.castopod.org/adaures/castopod
synced 2025-05-14 10:15:46 +00:00

- create Admin, Analytics, Auth, Fediverse and Install modules in the root modules/ folder - rename ActivityPub to Fediverse
49 lines
1.1 KiB
PHP
49 lines
1.1 KiB
PHP
<?= $this->extend('Modules\Admin\Views\_layout') ?>
|
|
|
|
<?= $this->section('title') ?>
|
|
<?= lang('MyAccount.changePassword') ?>
|
|
<?= $this->endSection() ?>
|
|
|
|
<?= $this->section('pageTitle') ?>
|
|
<?= lang('MyAccount.changePassword') ?>
|
|
<?= $this->endSection() ?>
|
|
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
<?= 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',
|
|
|
|
'autocomplete' => 'new-password',
|
|
]) ?>
|
|
|
|
<?= button(
|
|
lang('User.form.submit_password_change'),
|
|
'',
|
|
['variant' => 'primary'],
|
|
['type' => 'submit', 'class' => 'self-end'],
|
|
) ?>
|
|
|
|
<?= form_close() ?>
|
|
|
|
<?= $this->endSection() ?>
|