<button class="button main"
+ type="button"
id="buttonTitle"
(click)="changeFormTitleVisible()">Titel hinzufügen</button>
<button class="button main"
+ type="button"
id="buttonSubtitle"
(click)="changeFormSubtitleVisible()">Untertitel hinzufügen</button>
<button class="button main"
+ type="button"
id="buttonFood"
(click)="changeFormFoodVisible()">Speise hinzufügen</button>
<form class="form" id="formTitle" *ngIf="formTitleVisible">
<label>Titel</label>
<input name="title" type="text" />
- <button class="button" id="addTitle">Hinzufügen</button>
+ <button class="button"
+ type="button"
+ id="addTitle">Hinzufügen</button>
</form>
<form class="form" id="formSubtitle" *ngIf="formSubtitleVisible">
<label>Untertitel</label>
<input name="subtitle" type="text" />
- <button class="button" id="addSubtitle">Hinzufügen</button>
+ <button class="button"
+ type="button"
+ id="addSubtitle">Hinzufügen</button>
</form>
<form class="form" id="formFood" *ngIf="formFoodVisible">
<input name="sideDish" type="text" />
<label>Preis</label>
<input name="price" type="text" />
- <button class="button" id="addFood">Hinzufügen</button>
+ <button class="button"
+ type="button"
+ id="addFood">Hinzufügen</button>
</form>