blob: 0f8362c7e8fb237cdd438a7eed299318398f005a [file] [log] [blame]
<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>