From 65e39ec7a31aeb36e25234f45ea077d1e3b5b5fa Mon Sep 17 00:00:00 2001 From: neingeist Date: Sat, 4 Dec 2021 15:56:56 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20add=20a=20"Minuten"=20unit=20to=20"?= =?UTF-8?q?L=C3=A4nge"=20form=20field?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes #5. --- templates/download.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/templates/download.html b/templates/download.html index 66224e5..c48307d 100644 --- a/templates/download.html +++ b/templates/download.html @@ -54,10 +54,15 @@
{{ form.length.label(class_="form-control-label") }} +
{{ form.length(class_="form-control " + ("is-invalid" if form.length.errors else "")) }} +
+ Minuten +
{% if form.length.errors %} -
{{ form.length.errors|join("
")|safe }}
+
{{ form.length.errors|join("
")|safe }}
{% endif %} +