看板初始化提交
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<div class="form-login">
|
||||
<h2><?= t('Password Reset') ?></h2>
|
||||
<form method="post" action="<?= $this->url->href('PasswordResetController', 'update', array('token' => $token)) ?>">
|
||||
<?= $this->form->csrf() ?>
|
||||
|
||||
<?= $this->form->label(t('New password'), 'password') ?>
|
||||
<?= $this->form->password('password', $values, $errors, ['autocomplete="new-password"']) ?>
|
||||
|
||||
<?= $this->form->label(t('Confirmation'), 'confirmation') ?>
|
||||
<?= $this->form->password('confirmation', $values, $errors, ['autocomplete="new-password"']) ?>
|
||||
|
||||
<div class="form-actions">
|
||||
<button type="submit" class="btn btn-blue"><?= t('Change Password') ?></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
@@ -0,0 +1,18 @@
|
||||
<div class="form-login">
|
||||
<h2><?= t('Password Reset') ?></h2>
|
||||
<form method="post" action="<?= $this->url->href('PasswordResetController', 'save') ?>">
|
||||
<?= $this->form->csrf() ?>
|
||||
|
||||
<?= $this->form->label(t('Username'), 'username') ?>
|
||||
<?= $this->form->text('username', $values, $errors, array('autofocus', 'required', 'autocomplete="username"')) ?>
|
||||
<p class="form-help"><?= t('Your profile must have a valid email address.') ?></p>
|
||||
|
||||
<?= $this->form->label(t('Enter the text below'), 'captcha') ?>
|
||||
<img src="<?= $this->url->href('CaptchaController', 'image') ?>" alt="Captcha">
|
||||
<?= $this->form->text('captcha', array(), $errors, array('required')) ?>
|
||||
|
||||
<div class="form-actions">
|
||||
<button type="submit" class="btn btn-blue"><?= t('Change Password') ?></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
@@ -0,0 +1,6 @@
|
||||
<p><?= t('To reset your password click on this link:') ?></p>
|
||||
|
||||
<p><?= $this->url->to('PasswordResetController', 'change', array('token' => $token), '', true) ?></p>
|
||||
|
||||
<hr>
|
||||
Kanboard
|
||||
Reference in New Issue
Block a user