Humanize validation errors returned on registration

This commit is contained in:
raeno 2018-12-03 22:43:58 +04:00
parent 3fa9b39150
commit 822559afd8
3 changed files with 22 additions and 6 deletions

View file

@ -49,8 +49,10 @@
<div class='terms-of-service' v-html="termsofservice">
</div>
</div>
<div v-if="error" class='form-group'>
<div class='alert error'>{{error}}</div>
<div v-if="errors.length" class='form-group'>
<div class='alert error'>
<span v-for="error in errors">{{error}}</span>
</div>
</div>
</form>
</div>