<div class="login-container"> | |
<div class="login-form"> | |
<h2>Login to {{brandName}}</h2> | |
<form (ngSubmit)="onSubmit(loginForm.value)" #loginForm="ngForm"> | |
<input type="email" [(ngModel)]="auth.username" name="username" required/> | |
<input type="password" [(ngModel)]="auth.password" name="password" required/> | |
<button type="submit" [disabled]="!loginForm.form.valid">Login</button> | |
</form> | |
</div> | |
</div> |