Created
June 19, 2018 16:27
-
-
Save haverchuck/4aae4e6ceb9f0d5c72c2e2a2dcb6d679 to your computer and use it in GitHub Desktop.
ionic-amplify-part-1: list.item.modal.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <ion-header> | |
| <ion-toolbar> | |
| <ion-title>{{editItem ? 'Edit' : 'Create'}} Item</ion-title> | |
| </ion-toolbar> | |
| </ion-header> | |
| <ion-content> | |
| <ion-list lines="true"> | |
| <ion-item> | |
| <ion-label color="primary">ToDo Title </ion-label> | |
| <ion-input placeholder="title" [(ngModel)]="item.title"></ion-input> | |
| </ion-item> | |
| <ion-item> | |
| <ion-label color="primary">ToDo Description </ion-label> | |
| <ion-input placeholder="description" [(ngModel)]="item.description"></ion-input> | |
| </ion-item> | |
| </ion-list> | |
| </ion-content> | |
| <ion-footer> | |
| <ion-button class="save-btn" (click)="save()">Save</ion-button> | |
| <ion-button class="dismiss-btn" (click)="cancel()">Cancel</ion-button> | |
| </ion-footer> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment