2020-08-14 18:27:57 +00:00
|
|
|
<?= helper('form') ?>
|
2020-07-10 12:20:25 +00:00
|
|
|
<?= $this->extend($config->viewLayout) ?>
|
|
|
|
|
|
|
|
<?= $this->section('title') ?>
|
|
|
|
<?= lang('Auth.resetYourPassword') ?>
|
|
|
|
<?= $this->endSection() ?>
|
|
|
|
|
|
|
|
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
|
|
|
|
<p class="mb-4"><?= lang('Auth.enterCodeEmailPassword') ?></p>
|
|
|
|
|
2020-08-14 18:27:57 +00:00
|
|
|
<?= form_open(route_to('reset-password'), ['class' => 'flex flex-col']) ?>
|
|
|
|
<?= csrf_field() ?>
|
|
|
|
|
|
|
|
<?= form_label(lang('Auth.token'), 'token') ?>
|
|
|
|
<?= form_input([
|
|
|
|
'id' => 'token',
|
|
|
|
'name' => 'token',
|
|
|
|
'class' => 'form-input mb-4',
|
|
|
|
'value' => old('token', $token ?? ''),
|
|
|
|
'required' => 'required',
|
|
|
|
]) ?>
|
|
|
|
|
|
|
|
<?= form_label(lang('Auth.email'), 'email') ?>
|
|
|
|
<?= form_input([
|
|
|
|
'id' => 'email',
|
|
|
|
'name' => 'email',
|
|
|
|
'class' => 'form-input mb-4',
|
|
|
|
'value' => old('email'),
|
|
|
|
'required' => 'required',
|
|
|
|
'type' => 'email',
|
|
|
|
]) ?>
|
|
|
|
|
|
|
|
<?= form_label(lang('Auth.newPassword'), 'password') ?>
|
|
|
|
<?= form_input([
|
|
|
|
'id' => 'password',
|
|
|
|
'name' => 'password',
|
|
|
|
'class' => 'form-input mb-4',
|
|
|
|
'type' => 'password',
|
|
|
|
'required' => 'required',
|
|
|
|
'autocomplete' => 'new-password',
|
|
|
|
]) ?>
|
|
|
|
|
2020-10-02 15:38:16 +00:00
|
|
|
<?= button(
|
|
|
|
lang('Auth.resetPassword'),
|
|
|
|
null,
|
|
|
|
['variant' => 'primary'],
|
|
|
|
['type' => 'submit', 'class' => 'self-end']
|
|
|
|
) ?>
|
2020-08-14 18:27:57 +00:00
|
|
|
|
|
|
|
<?= form_close() ?>
|
2020-07-10 12:20:25 +00:00
|
|
|
|
|
|
|
<?= $this->endSection() ?>
|