Created
July 6, 2016 03:06
-
-
Save jorgeucano/7f97525650ad98e2677384e7c24b41a7 to your computer and use it in GitHub Desktop.
app/pages/login/login.html
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
<StackLayout> | |
<Image src="res://logo_login" stretch="none" horizontalAlignment="center"></Image> | |
<TextField hint="Email Address" keyboardType="email" [(ngModel)]="user.email" | |
autocorrect="false" autocapitalizationType="none"></TextField> | |
<TextField hint="Password" [(ngModel)]="user.password" secure="true"></TextField> | |
<Button [text]="isLoggingIn ? 'Sign in' : 'Sign up'" class="submit-button" (tap)="submit()"></Button> | |
<Button [text]="isLoggingIn ? 'Sign up' : 'Back to login'" (tap)="toggleDisplay()"></Button> | |
</StackLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment