-
-
Save geykel/24c857aaeaad91cacf0fa421f79c0c8b 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 hideBackButton="true"> | |
<ion-title>Iniciar Sesión</ion-title> | |
</ion-navbar> | |
</ion-header> | |
<ion-content> | |
<form #signInForm="ngForm" (submit)="signIn()"> | |
<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]="!signInForm.form.valid" block>Entrar</button> | |
</div> | |
<div padding-left padding-right> | |
<p>¿No tiene Cuenta de Usuario? <a (click)="signUp()">Regístrese</a> | |
</div> | |
</ion-list> | |
</form> | |
</ion-content> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment