Skip to content
Snippets Groups Projects
Commit 6095c48f authored by rhenck's avatar rhenck
Browse files

Move card title out of the form

This makes E2E testing easier and makes more sense logically.
parent b806fc3e
No related branches found
No related tags found
No related merge requests found
<div fxLayout="row wrap" fxLayoutAlign="center stretch"> <div fxLayout="row wrap" fxLayoutAlign="center stretch">
<mat-card fxFlex="0 0 400px"> <mat-card fxFlex="0 0 400px">
<mat-card-title>Anmelden</mat-card-title>
<form [formGroup]="loginForm" (ngSubmit)="login()" *ngIf="mds.isApiValid"> <form [formGroup]="loginForm" (ngSubmit)="login()" *ngIf="mds.isApiValid">
<mat-card-title>Anmelden</mat-card-title>
<mat-card-content fxLayout="column"> <mat-card-content fxLayout="column">
<mat-form-field> <mat-form-field>
<input matInput formControlName="name" placeholder="Anmeldename" (keyup.enter)="pw.focus()"> <input matInput formControlName="name" placeholder="Anmeldename" (keyup.enter)="pw.focus()">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment