Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
<p *ngIf="error" style="text-align: center">{{error.message}}</p>
<ion-list>
<ion-item>
<ion-label floating>Username</ion-label>
<ion-input type="text" [(ngModel)]="userDetails.username" autocorrect="off" autocapitalize="none" name="username"></ion-input>
</ion-item>
<ion-item>
<ion-label floating>Email</ion-label>
<ion-input type="email" [(ngModel)]="userDetails.email" name="email"></ion-input>
</ion-item>
<ion-item>
<ion-label floating>Password</ion-label>
<ion-input type="password" [(ngModel)]="userDetails.password" name="password"></ion-input>
</ion-item>
<div padding>
<button ion-button color="primary" block>Register</button>
</div>
<div padding text-center>
<p><a (click)="login()">Return to login</a>
</div>
</ion-list>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment