Last active
October 19, 2018 14:02
-
-
Save shamique/832f02f08f18db37d0c04b09fed6a8e9 to your computer and use it in GitHub Desktop.
This file contains 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-navbar> | |
<ion-title> | |
Ionic cognito app - Sign up | |
</ion-title> | |
</ion-navbar> | |
</ion-header> | |
<ion-content class="login-content" padding> | |
<div class="login-box"> | |
<form (ngSubmit)="register()" #registerForm="ngForm"> | |
<ion-row> | |
<ion-col> | |
<ion-list inset> | |
<ion-item> | |
<ion-input type="text" placeholder="Email" name="email" [(ngModel)]="email" required></ion-input> | |
</ion-item> | |
<ion-item> | |
<ion-input type="password" placeholder="Password" name="password" [(ngModel)]="password" required></ion-input> | |
</ion-item> | |
</ion-list> | |
</ion-col> | |
</ion-row> | |
<ion-row> | |
<ion-col class="signup-col"> | |
<button ion-button class="submit-btn" full type="submit" [disabled]="!registerForm.form.valid">Register</button> | |
</ion-col> | |
</ion-row> | |
</form> | |
</div> | |
</ion-content> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment