40 lines
1.7 KiB
HTML
40 lines
1.7 KiB
HTML
|
<section class="mat-typography">
|
||
|
<mat-card class="defaultCard">
|
||
|
<mat-card-header>
|
||
|
<mat-card-title>
|
||
|
{{premise?.description}}
|
||
|
</mat-card-title>
|
||
|
<mat-card-subtitle>
|
||
|
ID: {{premise?.id}}
|
||
|
</mat-card-subtitle>
|
||
|
</mat-card-header>
|
||
|
<mat-card-content>
|
||
|
<div>
|
||
|
<form (ngSubmit)="savePremise()">
|
||
|
<div>
|
||
|
<mat-form-field appearance="outline">
|
||
|
<mat-label>Beschreibung</mat-label>
|
||
|
<input matInput name="description" [(ngModel)]="premise.description"/>
|
||
|
</mat-form-field>
|
||
|
</div><div>
|
||
|
<mat-form-field appearance="outline">
|
||
|
<mat-label>Strasse</mat-label>
|
||
|
<input matInput name="street" [(ngModel)]="premise.street"/>
|
||
|
</mat-form-field>
|
||
|
</div><div>
|
||
|
<mat-form-field appearance="outline">
|
||
|
<mat-label>PLZ</mat-label>
|
||
|
<input matInput name="zip" [(ngModel)]="premise.zip"/>
|
||
|
</mat-form-field>
|
||
|
<mat-form-field appearance="outline">
|
||
|
<mat-label>Ort</mat-label>
|
||
|
<input matInput name="city" [(ngModel)]="premise.city"/>
|
||
|
</mat-form-field>
|
||
|
</div>
|
||
|
<button #submitButton type="submit" mat-raised-button color="primary">Speichern</button>
|
||
|
</form>
|
||
|
</div>
|
||
|
</mat-card-content>
|
||
|
</mat-card>
|
||
|
</section>
|