This repository was archived by the owner on Apr 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +13
-12
lines changed Expand file tree Collapse file tree 1 file changed +13
-12
lines changed Original file line number Diff line number Diff line change 22
33@section (' content' )
44<div class =" container" >
5- <div class =" row" >
6- <div class =" col-md-8 col-md-offset-2" >
7- <div class =" panel panel-default" >
8- <div class =" panel-heading" >@lang (' twofactor-auth::twofactor-auth.title' )</div >
9- <div class =" panel-body" >
5+ <div class =" row justify-content-center" >
6+ <div class =" col-md-8" >
7+ <div class =" card" >
8+ <div class =" card-header" >@lang (' twofactor-auth::twofactor-auth.title' )</div >
9+
10+ <div class =" card-body" >
1011 <form class =" form-horizontal" role =" form" method =" POST" action =" {{ route (' auth.token' ) } }" >
11- {{ csrf_field () } }
12+ @csrf
1213
13- <div class =" form-group{{ $errors -> has ( ' token ' ) ? ' has-error ' : ' ' } } " >
14- <label for =" token" class =" col-md-4 control- label" >@lang (' twofactor-auth::twofactor-auth.label' )</label >
14+ <div class =" form-group row " >
15+ <label for =" token" class =" col-md-4 col-form- label text-md-right " >@lang (' twofactor-auth::twofactor-auth.label' )</label >
1516
1617 <div class =" col-md-6" >
17- <input id =" token" type =" text" class =" form-control" name =" token" value =" {{ old (' token' ) } }" required autofocus >
18+ <input id =" token" type =" text" class =" form-control{{ $errors -> has ( ' token ' ) ? ' is-invalid ' : ' ' } } " name =" token" value =" {{ old (' token' ) } }" required autofocus >
1819
1920 @if ($errors -> has (' token' ) )
20- <span class =" help-block " >
21+ <span class =" invalid-feedback " role = " alert " >
2122 <strong >{{ $errors -> first (' token' ) } } </strong >
2223 </span >
2324 @endif
2425 </div >
2526 </div >
2627
27- <div class =" form-group" >
28- <div class =" col-md-8 col -md-offset -4" >
28+ <div class =" form-group row mb-0 " >
29+ <div class =" col-md-8 offset -md-4" >
2930 <button type =" submit" class =" btn btn-primary" >
3031 @lang (' twofactor-auth::twofactor-auth.send' )
3132 </button >
You can’t perform that action at this time.
0 commit comments