Last active
February 9, 2017 23:46
-
-
Save avatsaev/d7c3961943a9d5f8c773cdbe7ba33968 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
<form (ngSubmit)="onSignInSubmit()" #f="ngForm" > | |
<div class="row"> | |
<div class="input-field col s12"> | |
<input id="email" | |
type="email" | |
required | |
name='email' | |
[(ngModel)]="signInUser.email" | |
class="validate"> | |
<label for="email">Email</label> | |
</div> | |
<div class="input-field col s12"> | |
<input id="password" | |
type="password" | |
required | |
name='password' | |
[(ngModel)]="signInUser.password" | |
class="validate"> | |
<label for="password">Password</label> | |
</div> | |
<div class="col s12 "> | |
<button type="submit" | |
[disabled]="!(f.valid)" | |
[ngClass]="{'disabled': !(f.valid)}" | |
class="waves-effect waves-light btn blue right" | |
> | |
Login </button> | |
</div> | |
</div> | |
</form> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment