From 16bf89165465a7c7638675d2eb708caaea21e832 Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Mon, 16 Dec 2024 09:45:19 +0100 Subject: [PATCH] fix wtf macros --- app/templates/wtf.html.j2 | 91 ++++++++++++++++++++++----------------- 1 file changed, 51 insertions(+), 40 deletions(-) diff --git a/app/templates/wtf.html.j2 b/app/templates/wtf.html.j2 index a85042aa..317ebe8c 100644 --- a/app/templates/wtf.html.j2 +++ b/app/templates/wtf.html.j2 @@ -7,6 +7,8 @@ {{ render_integer_field(field, *args, **kwargs) }} {% elif field.type == 'MultipleFileField' %} {{ render_multiple_file_field(field, *args, **kwargs) }} + {% elif field.type == 'StringField' %} + {{ render_string_field(field, *args, **kwargs) }} {% elif field.type == 'SubmitField' %} {{ render_submit_field(field, *args, **kwargs) }} {% elif field.type == 'TextAreaField' %} @@ -20,7 +22,7 @@ {% macro render_boolean_field(field) %}