Simplify classes.
This commit is contained in:
parent
985174eec9
commit
5f413f0cad
@ -16,7 +16,7 @@ import { Account } from './account';
|
||||
</label>
|
||||
|
||||
<div class="col-sm-7"
|
||||
[ngClass]="{'has-danger': name.errors}">
|
||||
[class.has-danger]="name.errors">
|
||||
<input class="form-control"
|
||||
id="name" formControlName="name"
|
||||
placeholder="Account name">
|
||||
@ -33,7 +33,7 @@ import { Account } from './account';
|
||||
</label>
|
||||
|
||||
<div class="col-sm-7"
|
||||
[ngClass]="{'has-danger': authorizedOverdraft.errors}">
|
||||
[class.has-danger]="authorizedOverdraft.errors">
|
||||
<div class="input-group">
|
||||
<input class="form-control"
|
||||
id="authorized-overdraft" formControlName="authorizedOverdraft"
|
||||
|
Loading…
Reference in New Issue
Block a user