Fix and cleanup account edit dialog.
This commit is contained in:
parent
877315d6e1
commit
2287ca8ad3
@ -1,5 +1,5 @@
|
|||||||
// vim: set tw=80 ts=2 sw=2 sts=2:
|
// vim: set tw=80 ts=2 sw=2 sts=2:
|
||||||
import { Component, Inject, Input, ViewChild } from '@angular/core';
|
import { Component, Inject, ViewChild } from '@angular/core';
|
||||||
import { MdDialogRef, MD_DIALOG_DATA } from '@angular/material';
|
import { MdDialogRef, MD_DIALOG_DATA } from '@angular/material';
|
||||||
|
|
||||||
import { Account } from './account';
|
import { Account } from './account';
|
||||||
@ -8,7 +8,7 @@ import { AccountFormComponent } from './accountForm.component';
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'account-edit-modal',
|
selector: 'account-edit-modal',
|
||||||
template: `
|
template: `
|
||||||
<h3 md-dialog-tiitle>{{ title() }}</h3>
|
<h3 md-dialog-title>{{ title() }}</h3>
|
||||||
|
|
||||||
<md-dialog-content>
|
<md-dialog-content>
|
||||||
<account-form [account]="account" (submit)="submit()" #accountForm="accountForm">
|
<account-form [account]="account" (submit)="submit()" #accountForm="accountForm">
|
||||||
|
Loading…
Reference in New Issue
Block a user