Skip to content

Instantly share code, notes, and snippets.

@NandoKstroNet
Created July 23, 2018 13:46
Show Gist options
  • Save NandoKstroNet/287572103e44d9eac9918b86f8c4bfd6 to your computer and use it in GitHub Desktop.
Save NandoKstroNet/287572103e44d9eac9918b86f8c4bfd6 to your computer and use it in GitHub Desktop.
<!--
Generated template for the SavePage page.
See http://ionicframework.com/docs/components/#navigation for more info on
Ionic pages and navigation.
-->
<ion-header>
<ion-navbar>
<ion-title>Cadastro de Curso</ion-title>
</ion-navbar>
</ion-header>
<ion-content padding>
<ion-list>
<ion-item>
<ion-label fixed>Title</ion-label>
<ion-input type="text" [(ngModel)]="course.title"></ion-input>
</ion-item>
<ion-item>
<ion-label fixed>Preço</ion-label>
<ion-input type="text" [(ngModel)]="course.price"></ion-input>
</ion-item>
<ion-item>
<ion-label fixed>Descricao</ion-label>
<ion-input type="text" [(ngModel)]="course.description"></ion-input>
</ion-item>
<button ion-button full (click)="save(course)">Criar Curso</button>
</ion-list>
</ion-content>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment