From c5e38d7f48e2b5d6ce5ea70f7337f983e55969d6 Mon Sep 17 00:00:00 2001 From: Sean Fridman Date: Thu, 9 Apr 2015 01:58:01 -0400 Subject: Add captioned-image-list type --- themes/okadmin/templates/partials/inputs.liquid | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'themes/okadmin/templates') diff --git a/themes/okadmin/templates/partials/inputs.liquid b/themes/okadmin/templates/partials/inputs.liquid index 551a66c..8269d4e 100644 --- a/themes/okadmin/templates/partials/inputs.liquid +++ b/themes/okadmin/templates/partials/inputs.liquid @@ -3,7 +3,7 @@ {% assign spec = pair[1] %} {% assign type = spec.type %} -
+
{% if type == 'string' %} @@ -28,6 +28,20 @@ {% endfor %} + {% elsif type == 'captioned-image-list' %} +
    + {% for image in spec.value %} +
  1. + {{image.caption}} + +
    + + +
  2. + {% endfor %} +
+ + {% else %}

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

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