From a22b8f3dc73555800caf55768f04a7a2ce4af7f2 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 11 Mar 2017 15:24:34 -0500 Subject: Make user actions available from contextual menu --- app/Template/twofactor/show.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'app/Template/twofactor') diff --git a/app/Template/twofactor/show.php b/app/Template/twofactor/show.php index 412077b9..80f1e244 100644 --- a/app/Template/twofactor/show.php +++ b/app/Template/twofactor/show.php @@ -2,6 +2,10 @@

+app->isAjax()): ?> + app->flashMessage() ?> + +
@@ -16,13 +20,13 @@

+
form->csrf() ?> form->label(t('Code'), 'code') ?> form->text('code', array(), array(), array('placeholder="123456"', 'autofocus'), 'form-numeric') ?> -
- -
+ modal->submitButtons(array('submitLabel' => t('Check my code'))) ?>
+
-- cgit v1.2.3