This commit is contained in:
Phan Huy Tran 2024-11-20 12:51:34 +01:00
parent ae74e61e20
commit db5a2a4a5b

View File

@ -1,20 +1,5 @@
<form name="newShowForm" #newShowForm="ngForm"> <form name="newShowForm" #newShowForm="ngForm">
<h2>Serie hinzufügen:</h2> <h2>Serie hinzufügen:</h2>
<div class="mb-2">
<label for="newShowID">ID:</label>
<input class="form-control"
id="newShowID"
#id="ngModel"
[class.is-invalid]="id.invalid && id.touched"
pattern="^\d+$"
name="newShowID"
type="text"
[(ngModel)]="show.uid"
placeholder="Hier die ID der Serie eingeben!"
required
>
<small class="text-danger" [class.d-none]="id.valid || id.untouched">Bitte geben Sie eine Zahl ein!</small>
</div>
<div class="mb-2"> <div class="mb-2">
<label for="newShowTitle">Titel:</label> <label for="newShowTitle">Titel:</label>
<input class="form-control" <input class="form-control"