From 93ca5660e52349864d2e26565922a0efc92ceb80 Mon Sep 17 00:00:00 2001 From: neingeist Date: Tue, 13 Nov 2018 22:23:18 +0100 Subject: [PATCH] recreate form to have an icon for the calendar --- templates/download.html | 41 ++++++++++++++++++++++++++++++++++++++--- 1 file changed, 38 insertions(+), 3 deletions(-) diff --git a/templates/download.html b/templates/download.html index 1b51d20..449dacb 100644 --- a/templates/download.html +++ b/templates/download.html @@ -16,8 +16,43 @@ {% block app_content %}
-
- {{ wtf.quick_form(form, button_map={'submit': 'primary'}) }} +
+
+ +
+ + {{ form.hidden_tag() }} + + {{ wtf.form_errors(form, hiddens="only") }} + +
+ {{ form.start_time.label(class_="control-label") }} +
+ + + + +
+ {% for error in form.start_time.errors %} +

{{ error }}

+ {% endfor %} +
+ +
+ {{ form.length.label(class_="control-label") }} + {{ form.length(class_="form-control") }} + {% for error in form.length.errors %} +

{{ error }}

+ {% endfor %} +
+ +
+ {{ form.submit(class_="btn btn-primary") }} +
+ +
+ +
{% endblock %} @@ -30,7 +65,7 @@