mirror of
https://code.castopod.org/adaures/castopod.git
synced 2024-09-05 10:19:19 +02:00
- add installGateway to app config - update route names and groups - remove `author_name` and `author_email` from `episodes` table - remove `author_name` and `author_email` from `podcasts` table - remove `owner_id` + add `created_by` and `updated_by` fields in `podcasts` and `episodes` tables - remove unnecessary comments in database fields - remove confirm password inputs from auth forms for better ux - rename `pub_date` field to `published_at` and add publication time field in episode form closes #14, #28
44 lines
989 B
PHP
44 lines
989 B
PHP
<?= $this->extend('admin/_layout') ?>
|
|
|
|
<?= $this->section('title') ?>
|
|
<?= 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',
|
|
]) ?>
|
|
|
|
<?= form_button([
|
|
'content' => lang('User.form.submit_password_change'),
|
|
'type' => 'submit',
|
|
'class' => 'self-end px-4 py-2 bg-gray-200',
|
|
]) ?>
|
|
|
|
<?= form_close() ?>
|
|
|
|
<?= $this->endSection()
|
|
?>
|