<div id="login">
  <div id="login-form">
    <img id="metasocket-banner" src="assets/graphics/metasocket-banner.svg">
    <p *ngIf="error !== null" class="error-message">{{error}}</p>

    <form>
      <label>
        Username
        <input #loginName name="username" [(ngModel)] = "username" required autofocus>
      </label>

      <label>
        Password
        <input #loginPassword type="password" name="password" [(ngModel)] = "password" required>
      </label>

      <input type="submit" (click)="login($event)" value="Anmelden">
    </form>

    <p class="app-version">{{version}}</p>
  </div>
</div>
