1
0
mirror of https://github.com/bitwarden/web synced 2026-01-04 09:33:32 +00:00

validation summary on payment

This commit is contained in:
Kyle Spearrin
2017-07-26 10:12:20 -04:00
parent a1dfd7493a
commit fd9fcbea38
2 changed files with 12 additions and 6 deletions

View File

@@ -3,6 +3,12 @@
</section>
<section class="content">
<form name="form" ng-submit="form.$valid && submit(model)" api-form="submitPromise">
<div class="callout callout-danger validation-errors" ng-show="form.$errors">
<h4>Errors have occurred</h4>
<ul>
<li ng-repeat="e in form.$errors">{{e}}</li>
</ul>
</div>
<div class="box box-default">
<div class="box-body">
<div class="row">