From 6d075a940b30c186e8b668316c5f51fbcb47e78e Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 9 Apr 2015 01:58:58 -0400 Subject: input fields and such --- themes/okadmin/templates/partials/inputs.liquid | 40 +++++++++++++++++-------- 1 file changed, 27 insertions(+), 13 deletions(-) (limited to 'themes/okadmin/templates') diff --git a/themes/okadmin/templates/partials/inputs.liquid b/themes/okadmin/templates/partials/inputs.liquid index 8eb0fa5..e79ff14 100644 --- a/themes/okadmin/templates/partials/inputs.liquid +++ b/themes/okadmin/templates/partials/inputs.liquid @@ -18,16 +18,6 @@ disabled="true" {% endif %} name="{{name}}">{{spec.value}} - {% elsif type == 'video' %} -
- - - - - - - -
{% elsif type == 'enum' %} - {% elsif type == 'uri' %} -
- + {% elsif type == 'video' %} +
+ + + + + + + +
+ {% elsif type == 'images' %} +
+ {% for image in spec.value %} +
+ + + +
+ {% endfor %}
+ + {% else %}

Admin template doesn't support '{{type}}' properties!

{% endif %} -- cgit v1.2.3-70-g09d2