Matteo Scandolo | 43ffb67 | 2016-12-02 14:49:58 -0800 | [diff] [blame] | 1 | <div class="login-container"> |
2 | <div class="login-form"> | ||||
3 | <h2>Login to {{brandName}}</h2> | ||||
4 | <form (ngSubmit)="onSubmit(loginForm.value)" #loginForm="ngForm"> | ||||
5 | <input type="email" [(ngModel)]="auth.username" name="username" required/> | ||||
6 | <input type="password" [(ngModel)]="auth.password" name="password" required/> | ||||
7 | <button type="submit" [disabled]="!loginForm.form.valid">Login</button> | ||||
8 | </form> | ||||
9 | </div> | ||||
10 | </div> |