]> gitweb.hhaalo.de Git - speisekarten-editor.git/commitdiff
add: class form
authorBastian Dehn <hhaalo@arcor.de>
Mon, 6 Jun 2022 09:54:25 +0000 (11:54 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Mon, 6 Jun 2022 09:54:25 +0000 (11:54 +0200)
src/app/app.component.html

index 4a88bdefa8548cc2dda0dfd759ad91269e55a707..a774c89841715fdb405982fb3e1fa4418bc5cccb 100644 (file)
@@ -11,7 +11,7 @@
        id="buttonFood"
        (click)="changeFormFoodVisible()">Speise hinzufügen</button>
 
-<form #formTitle="ngForm" *ngIf="formTitleVisible">
+<form #formTitle="ngForm" *ngIf="formTitleVisible" class="form">
        <label>Titel</label>
        <input [(ngModel)]="title" name="title" type="text" />
        <button class="button"
@@ -19,7 +19,7 @@
                id="addTitle">Hinzufügen</button>
 </form>
 
-<form #formSubtitle="ngForm" *ngIf="formSubtitleVisible">
+<form #formSubtitle="ngForm" *ngIf="formSubtitleVisible" class="form">
        <label>Untertitel</label>
        <input [(ngModel)]="subtitle" name="subtitle" type="text" />
        <button class="button"
@@ -27,7 +27,7 @@
                id="addSubtitle">Hinzufügen</button>
 </form>
 
-<form #formFood="ngForm" *ngIf="formFoodVisible">
+<form #formFood="ngForm" *ngIf="formFoodVisible" class="form">
        <label>Speise</label>
        <input name="food" type="text" />
        <label>Beilage</label>