From 3a10517123c261d5ce26f174b97764fcaad06e93 Mon Sep 17 00:00:00 2001 From: Adam Novak Date: Fri, 17 Apr 2020 12:02:51 -0700 Subject: Create option dropdowns from an options file --- bh20simplewebuploader/templates/form.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'bh20simplewebuploader/templates') diff --git a/bh20simplewebuploader/templates/form.html b/bh20simplewebuploader/templates/form.html index 9cfb60f..012b9c5 100644 --- a/bh20simplewebuploader/templates/form.html +++ b/bh20simplewebuploader/templates/form.html @@ -211,7 +211,6 @@
- {{ record }} {% for record in fields %} {% if 'heading' in record %} @@ -228,8 +227,17 @@ ? {% endif %} + {% if record['type'] == 'select' %} + + {% else %} {% endif %} + {% endif %} {% if loop.index == loop.length %}
{% endif %} -- cgit v1.2.3