diff options
Diffstat (limited to 'app/Template/auth')
-rw-r--r-- | app/Template/auth/index.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app/Template/auth/index.php b/app/Template/auth/index.php index ca303df9..efe95185 100644 --- a/app/Template/auth/index.php +++ b/app/Template/auth/index.php @@ -10,11 +10,17 @@ <?= $this->form->csrf() ?> <?= $this->form->label(t('Username'), 'username') ?> - <?= $this->form->text('username', $values, $errors, array('autofocus', 'required')) ?><br/> + <?= $this->form->text('username', $values, $errors, array('autofocus', 'required')) ?> <?= $this->form->label(t('Password'), 'password') ?> <?= $this->form->password('password', $values, $errors, array('required')) ?> + <?php if ($captcha): ?> + <?= $this->form->label(t('Enter the text below'), 'captcha') ?> + <img src="<?= $this->url->href('auth', 'captcha') ?>"/> + <?= $this->form->text('captcha', $values, $errors, array('required')) ?> + <?php endif ?> + <?= $this->form->checkbox('remember_me', t('Remember Me'), 1, true) ?><br/> <div class="form-actions"> |