Validation: add email-validator + phonenumbers; improve server-side validation; add tests; update templates and requirements

This commit is contained in:
Albert
2025-12-21 23:00:01 +01:00
parent 15c629a5e7
commit 3d237a928c
5 changed files with 264 additions and 8 deletions

View File

@@ -20,6 +20,9 @@
<label>Land <input name="land" value="{{ form.land if form and form.land else 'Deutschland' }}"></label>
<label>Telefon Vorwahl <input name="telefon_vorwahl" value="{{ form.telefon_vorwahl if form and form.telefon_vorwahl }}"></label>
<label>Telefon Nummer <input name="telefon_nummer" value="{{ form.telefon_nummer if form and form.telefon_nummer }}"></label>
{% if errors and errors.telefon %}
<div style="color:red">{{ errors.telefon }}</div>
{% endif %}
<label>E-Mail <input name="email" type="email" value="{{ form.email if form and form.email }}"> {% if errors and errors.email %}<strong style="color:red">{{ errors.email }}</strong>{% endif %}</label>
</fieldset>