52 lines
1.7 KiB
HTML
52 lines
1.7 KiB
HTML
<form [formRoot]="form">
|
|
<mat-form-field>
|
|
<mat-label>Vorname</mat-label>
|
|
<input matInput placeholder="Vorname" [formField]="form.vorname" />
|
|
</mat-form-field>
|
|
<mat-form-field>
|
|
<mat-label>Nachname</mat-label>
|
|
<input matInput placeholder="Nachname" [formField]="form.nachname" />
|
|
</mat-form-field>
|
|
<mat-form-field>
|
|
<mat-label>Geschlecht</mat-label>
|
|
<input
|
|
matInput
|
|
placeholder="Geschlecht"
|
|
[formField]="form.geschlecht" />
|
|
</mat-form-field>
|
|
<mat-form-field>
|
|
<mat-label>Passnummer</mat-label>
|
|
<input
|
|
matInput
|
|
placeholder="Passnummer"
|
|
[formField]="form.passnummer" />
|
|
</mat-form-field>
|
|
<mat-form-field>
|
|
<mat-label>Geburtsdatum</mat-label>
|
|
<input
|
|
matInput
|
|
[matDatepicker]="picker"
|
|
[formField]="form.geburtsdatum" />
|
|
<mat-hint>DD.MM.YYYY</mat-hint>
|
|
<mat-datepicker-toggle
|
|
matIconSuffix
|
|
[for]="picker"></mat-datepicker-toggle>
|
|
<mat-datepicker #picker></mat-datepicker>
|
|
</mat-form-field>
|
|
<mat-form-field>
|
|
<mat-label>Geburtsort</mat-label>
|
|
<input
|
|
matInput
|
|
placeholder="Geburtsort"
|
|
[formField]="form.geburtsort" />
|
|
</mat-form-field>
|
|
<mat-form-field>
|
|
<mat-label>Vereinsmitglied?</mat-label>
|
|
<mat-select matInput [formField]="form.verein">
|
|
<mat-option [value]="true">Ja</mat-option>
|
|
<mat-option [value]="false">Nein</mat-option>
|
|
</mat-select>
|
|
</mat-form-field>
|
|
<button mat-raised-button color="primary" type="submit">Speichern</button>
|
|
</form>
|