add fields to aufnahme form
All checks were successful
website-main / prod-build (push) Successful in 21s
website-main / test-build (push) Successful in 7s

This commit is contained in:
Denys Konovalov 2024-01-29 12:19:39 +01:00
parent c9c4658208
commit dfab4ad0f7
2 changed files with 21 additions and 1 deletions

@ -242,6 +242,10 @@ textarea.form-control {
padding: 20px; padding: 20px;
} }
.form-control:required:invalid {
border: 1px solid #f36;
}
.post-thumb-sm { .post-thumb-sm {
max-width: 100px; max-width: 100px;
} }

@ -13,6 +13,7 @@
<input type="text" class="form-control mb-3" id="student_name" name="student_name" placeholder="Vorname" required> <input type="text" class="form-control mb-3" id="student_name" name="student_name" placeholder="Vorname" required>
</div> </div>
<div class="input-group mb-3"> <div class="input-group mb-3">
<input type="text" class="form-control" id="student_sex" name="student_sex" placeholder="Geschlecht" required>
<span class="input-group-text">Geburtsdatum</span> <span class="input-group-text">Geburtsdatum</span>
<input type="date" class="form-control" id="student_birthday" name="student_birthday" min="2005-01-01" required> <input type="date" class="form-control" id="student_birthday" name="student_birthday" min="2005-01-01" required>
</div> </div>
@ -30,7 +31,22 @@
<input type="tel" class="form-control mb-3" id="tpriv" name="tpriv" placeholder="Telefon privat"> <input type="tel" class="form-control mb-3" id="tpriv" name="tpriv" placeholder="Telefon privat">
<input type="tel" class="form-control mb-3" id="tdienstl" name="tdienstl" placeholder="Telefon dienstl."> <input type="tel" class="form-control mb-3" id="tdienstl" name="tdienstl" placeholder="Telefon dienstl.">
</div> </div>
<input type="text" class="form-control mb-3" id="parent_name" name="parent_name" placeholder="Abweichender Elternname"> <div class="input-group">
<select class="form-control" name="anrede" id="anrede" required>
<option value="keine Angabe">keine Angabe</option>
<option value="Herr">Herr</option>
<option value="Frau">Frau</option>
</select>
<input type="text" class="form-control" id="parent_name" name="parent_name" placeholder="Nachname (Erziehungsberechtigter 1)" required>
</div>
<div class="input-group mb-3">
<select class="form-control" name="anrede" id="anrede">
<option value="keine Angabe">keine Angabe</option>
<option value="Herr">Herr</option>
<option value="Frau">Frau</option>
</select>
<input type="text" class="form-control" id="parent_name" name="parent_name" placeholder="Nachname (Erziehungsberechtigter 2)">
</div>
<input type="text" class="form-control mb-3" id="grundschule" name="grundschule" placeholder="Grundschule" required> <input type="text" class="form-control mb-3" id="grundschule" name="grundschule" placeholder="Grundschule" required>
<input type="email" class="form-control mb-3" id="parent_email" name="parent_email" placeholder="Ihre E-Mail-Adresse" required> <input type="email" class="form-control mb-3" id="parent_email" name="parent_email" placeholder="Ihre E-Mail-Adresse" required>
<textarea id="message" name="message" class="form-control mb-3" placeholder="Bemerkungen"></textarea> <textarea id="message" name="message" class="form-control mb-3" placeholder="Bemerkungen"></textarea>