This commit is contained in:
Alexis Lahouze 2017-07-04 21:54:31 +02:00
parent 0fa2f06a0e
commit c06dea22f6

View File

@ -28,6 +28,7 @@
ng-model="$ctrl.account.name"
type="text" placeholder="Account name"
required />
<div class="help-block" ng-messages="form.name.$error" ng-if="form.name.$invalid">
<p ng-message="required">The account name is required.</p>
</div>
@ -47,6 +48,7 @@
required min="0"/>
<div class="input-group-addon">.00€</div>
</div>
<div class="help-block" ng-messages="form.authorized_overdraft.$error" ng-if="form.authorized_overdraft.$invalid">
<p ng-message="required">The authorized overdraft is required.</p>
<p ng-message="min">The authorized overdraft must be equal or greater than 0.</p>