mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-01-23 22:58:35 +01:00
Add form errors display in QuickForm
This commit is contained in:
parent
9dd8b1f169
commit
0f53e6f93e
@ -13,6 +13,15 @@
|
|||||||
</token-displayer>
|
</token-displayer>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="columns is-mobile" v-if="form.errors.any()">
|
||||||
|
<div class="column">
|
||||||
|
<p v-for="field in form.errors.errors" class="help is-danger">
|
||||||
|
<ul>
|
||||||
|
<li v-for="(error, index) in field">{{ error }}</li>
|
||||||
|
</ul>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="columns is-mobile">
|
<div class="columns is-mobile">
|
||||||
<div class="column quickform-footer">
|
<div class="column quickform-footer">
|
||||||
<div class="field is-grouped is-grouped-centered">
|
<div class="field is-grouped is-grouped-centered">
|
||||||
|
Loading…
Reference in New Issue
Block a user