From 19516de0a43ac5f2b0afc9891bbef09d229ce4e6 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 23 Feb 2021 18:08:38 +0100 Subject: allow arbitrary file upload for pdf --- themes/okadmin/templates/partials/inputs.liquid | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) (limited to 'themes/okadmin/templates/partials/inputs.liquid') diff --git a/themes/okadmin/templates/partials/inputs.liquid b/themes/okadmin/templates/partials/inputs.liquid index 60466de..a7c3caa 100644 --- a/themes/okadmin/templates/partials/inputs.liquid +++ b/themes/okadmin/templates/partials/inputs.liquid @@ -10,13 +10,16 @@ {% if type == 'string' %} + {% elsif type == 'text' %} + {% elsif type == 'number' %} + {% elsif type == 'enum' or type == 'foreign-key' %} + {% elsif type == 'video' %}
@@ -40,6 +44,7 @@
+ {% elsif type == 'image' %}
@@ -59,8 +64,23 @@
- {% elsif type == 'date' %} + {% elsif type == 'file' %} +
+
+
+ + +
+
+
+ + + (view) + +
+
+ {% elsif type == 'date' %}
{% elsif type == 'flag' %} -