Fix account edit dialog size.
This commit is contained in:
parent
49716421a1
commit
012e5a16fa
@ -11,11 +11,11 @@ import { Account } from './account';
|
|||||||
<form novalidate
|
<form novalidate
|
||||||
(keyup.enter)="submit()" [formGroup]="form">
|
(keyup.enter)="submit()" [formGroup]="form">
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<label class="col-sm-5 control-label" for="name">
|
<label class="col-sm-4 control-label" for="name">
|
||||||
Account name
|
Account name
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<div class="col-sm-7"
|
<div class="col-sm-8"
|
||||||
[class.has-danger]="name.errors">
|
[class.has-danger]="name.errors">
|
||||||
<input class="form-control"
|
<input class="form-control"
|
||||||
id="name" formControlName="name"
|
id="name" formControlName="name"
|
||||||
@ -28,11 +28,11 @@ import { Account } from './account';
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<label class="col-sm-5 control-label" for="authorized-overdraft">
|
<label class="col-sm-4 control-label" for="authorized-overdraft">
|
||||||
Authorized overdraft
|
Authorized overdraft
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<div class="col-sm-7"
|
<div class="col-sm-8"
|
||||||
[class.has-danger]="authorizedOverdraft.errors">
|
[class.has-danger]="authorizedOverdraft.errors">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<input class="form-control"
|
<input class="form-control"
|
||||||
|
@ -115,9 +115,7 @@ export class AccountRowComponent implements OnInit {
|
|||||||
};
|
};
|
||||||
|
|
||||||
confirmDelete() {
|
confirmDelete() {
|
||||||
const modal = this.ngbModal.open(AccountDeleteModalComponent, {
|
const modal = this.ngbModal.open(AccountDeleteModalComponent);
|
||||||
size: 'lg'
|
|
||||||
});
|
|
||||||
|
|
||||||
modal.componentInstance.account = this.account;
|
modal.componentInstance.account = this.account;
|
||||||
|
|
||||||
@ -149,7 +147,9 @@ export class AccountRowComponent implements OnInit {
|
|||||||
* Open the popup to modify the account, save it on confirm.
|
* Open the popup to modify the account, save it on confirm.
|
||||||
*/
|
*/
|
||||||
modify() {
|
modify() {
|
||||||
const modal = this.ngbModal.open(AccountEditModalComponent);
|
const modal = this.ngbModal.open(AccountEditModalComponent, {
|
||||||
|
size: 'lg'
|
||||||
|
});
|
||||||
|
|
||||||
modal.componentInstance.account = this.account;
|
modal.componentInstance.account = this.account;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user