diff options
Diffstat (limited to 'app/Template')
-rw-r--r-- | app/Template/twofactor/check.php | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/app/Template/twofactor/check.php b/app/Template/twofactor/check.php index 06801d50..2c0de97c 100644 --- a/app/Template/twofactor/check.php +++ b/app/Template/twofactor/check.php @@ -1,10 +1,15 @@ -<form method="post" action="<?= $this->url->href('TwoFactorController', 'check', array('user_id' => $this->user->getId())) ?>" autocomplete="off"> +<section class="page"> + <div class="page-header"> + <h2><?= t('Two factor authentication') ?></h2> + </div> + <form method="post" action="<?= $this->url->href('TwoFactorController', 'check', array('user_id' => $this->user->getId())) ?>" autocomplete="off"> + <?= $this->form->csrf() ?> - <?= $this->form->csrf() ?> - <?= $this->form->label(t('Code'), 'code') ?> - <?= $this->form->text('code', array(), array(), array('placeholder="123456"', 'autofocus'), 'form-numeric') ?> + <?= $this->form->label(t('Code'), 'code') ?> + <?= $this->form->text('code', array(), array(), array('placeholder="123456"', 'autofocus'), 'form-numeric') ?> - <div class="form-actions"> - <button type="submit" class="btn btn-blue"><?= t('Check my code') ?></button> - </div> -</form> + <div class="form-actions"> + <button type="submit" class="btn btn-blue"><?= t('Check my code') ?></button> + </div> + </form> +</section>
\ No newline at end of file |