2020-02-01 16:04:23 -05:00
|
|
|
<ion-header>
|
|
|
|
<ion-toolbar>
|
|
|
|
<ion-title> <ion-icon name="text" item-left></ion-icon> Create a Note </ion-title>
|
|
|
|
<ion-buttons start>
|
|
|
|
<button ion-button (click)="dismiss()" large>
|
|
|
|
<ion-icon name="md-close"></ion-icon>
|
|
|
|
</button>
|
|
|
|
</ion-buttons>
|
|
|
|
</ion-toolbar>
|
|
|
|
</ion-header>
|
|
|
|
<ion-content padding *ngIf="item !== undefined">
|
|
|
|
<ion-item>
|
|
|
|
<ion-input placeholder="Title" text [(ngModel)]="item.title"></ion-input>
|
|
|
|
</ion-item>
|
|
|
|
<ion-item class="note-text">
|
|
|
|
<ion-textarea placeholder="Note Text" [(ngModel)]="item.content"></ion-textarea>
|
|
|
|
</ion-item>
|
|
|
|
<div style="float: right">
|
|
|
|
<button ion-button right (click)="save()">Save</button>
|
|
|
|
</div>
|
|
|
|
</ion-content>
|