24 lines
715 B
HTML
24 lines
715 B
HTML
<form [formGroup]="form" class="flex-col">
|
|
<div class="row-container">
|
|
<mat-form-field class="flex-auto">
|
|
<mat-label>Header / Footer</mat-label>
|
|
<mat-select formControlName="id" (selectionChange)="show($event)">
|
|
@for (s of list; track s) {
|
|
<mat-option [value]="s.id">
|
|
{{ s.name }}
|
|
</mat-option>
|
|
}
|
|
</mat-select>
|
|
</mat-form-field>
|
|
</div>
|
|
<mat-form-field>
|
|
<mat-label>Text</mat-label>
|
|
<textarea matInput matAutosizeMinRows="5" formControlName="text"></textarea>
|
|
</mat-form-field>
|
|
|
|
<mat-divider></mat-divider>
|
|
</form>
|
|
<div class="row-container">
|
|
<button mat-raised-button color="primary" (click)="save()">Save</button>
|
|
</div>
|