From 2712e61ea598b5f1f70a1a8a3356bd29caa51e59 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Sat, 2 May 2015 16:30:14 +0100 Subject: [PATCH] Fix up the 2FA login form --- .../views/auth/two-factor-auth.blade.php | 34 +++++++++---------- 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/resources/views/auth/two-factor-auth.blade.php b/resources/views/auth/two-factor-auth.blade.php index 7b59f9f7..7a7198d0 100644 --- a/resources/views/auth/two-factor-auth.blade.php +++ b/resources/views/auth/two-factor-auth.blade.php @@ -6,26 +6,24 @@ - {{ Form::open() }} -
- {{ trans('dashboard.login.two-factor') }} +
+
+ {{ trans('dashboard.login.two-factor') }} - @if(Session::has('error')) -

{{ Session::get('error') }}

- @endif + @if(Session::has('error')) +

{{ Session::get('error') }}

+ @endif -
- - {{ Form::text('code', null, [ - 'class' => 'form-control', 'placeholder' => trans('forms.login.2fauth'), 'required' => 'required' - ]) }} -
-
-
- -
-
- {{ Form::close() }} +
+ + +
+
+
+ +
+
+ @stop