-
-
Save geykel/22459435514ddf3746024da41bda9795 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>Registrarse</ion-title> | |
</ion-navbar> | |
</ion-header> | |
<ion-content> | |
<form #signUpForm="ngForm" (submit)="signUp()"> | |
<ion-list> | |
<ion-item> | |
<ion-label stacked>Correo electrónico</ion-label> | |
<ion-input [(ngModel)]="userModel.email" type="email" autocorrect="off" autocapitalize="none" name="email" pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,3}$" | |
required></ion-input> | |
</ion-item> | |
<ion-item> | |
<ion-label stacked>Contraseña</ion-label> | |
<ion-input [(ngModel)]="userModel.password" type="password" name="password" required minlength="6"></ion-input> | |
</ion-item> | |
<div padding-left padding-right padding-top> | |
<button ion-button [disabled]="!signUpForm.form.valid" block>Registrarse</button> | |
</div> | |
</ion-list> | |
</form> | |
</ion-content> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment