This commit is contained in:
Alexis Lahouze 2017-08-08 23:37:21 +02:00
parent 061cda89d0
commit e23adb4316

View File

@ -13,7 +13,9 @@ import { Account } from './account';
<form novalidate
(keyup.enter)="submit()" [formGroup]="form">
<div class="form-group row">
<label class="col-sm-5 control-label" [for]="name.key">Account name</label>
<label class="col-sm-5 control-label" for="name">
Account name
</label>
<div class="col-sm-7"
[ngClass]="{'has-danger': name.errors}">
@ -28,7 +30,9 @@ import { Account } from './account';
</div>
<div class="form-group row">
<label class="col-sm-5 control-label" for="authorized-overdraft">Authorized overdraft</label>
<label class="col-sm-5 control-label" for="authorized-overdraft">
Authorized overdraft
</label>
<div class="col-sm-7"
[ngClass]="{'has-danger': authorizedOverdraft.errors}">