Skip to content

Instantly share code, notes, and snippets.

Created June 27, 2017 02:42
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
<form #signUpForm="ngForm" (submit)="signUp()">
<ion-label stacked>Correo electrónico</ion-label>
<ion-input [(ngModel)]="" type="email" autocorrect="off" autocapitalize="none" name="email" pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,3}$"
<ion-label stacked>Contraseña</ion-label>
<ion-input [(ngModel)]="userModel.password" type="password" name="password" required minlength="6"></ion-input>
<div padding-left padding-right padding-top>
<button ion-button [disabled]="!signUpForm.form.valid" block>Registrarse</button>
<div padding>
<div padding-bottom>Entrar con una red social:</div>
<button ion-button block (click)="signInWithFacebook()" class="facebook-btn">Entrar con Facebook</button>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment