Use template-displayed errors in TwoFactor\Verify
- Remove the page dependency on jGrowl notices
This commit is contained in:
parent
56afc43b21
commit
4821fe1b98
2 changed files with 18 additions and 3 deletions
|
@ -2,6 +2,17 @@
|
|||
<h1>{{$title}}</h1>
|
||||
<div>{{$message nofilter}}</div>
|
||||
|
||||
{{if $errors}}
|
||||
<div class="panel panel-danger">
|
||||
<div class="panel-heading">{{$errors_label}}</div>
|
||||
<ul class="list-group">
|
||||
{{foreach $errors as $error}}
|
||||
<li class="list-group-item">{{$error}}</li>
|
||||
{{/foreach}}
|
||||
</ul>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<form action="" method="post">
|
||||
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue