From 32f87fcb58466e0e311349f96751c18e2a2cd7ea Mon Sep 17 00:00:00 2001 From: Sean Fridman Date: Wed, 8 Apr 2015 19:55:34 -0400 Subject: Administrate! --- themes/okadmin/templates/partials/inputs.liquid | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 themes/okadmin/templates/partials/inputs.liquid (limited to 'themes/okadmin/templates/partials/inputs.liquid') diff --git a/themes/okadmin/templates/partials/inputs.liquid b/themes/okadmin/templates/partials/inputs.liquid new file mode 100644 index 0000000..4dd600d --- /dev/null +++ b/themes/okadmin/templates/partials/inputs.liquid @@ -0,0 +1,19 @@ +{% for pair in resource.spec %} + {% assign name = pair[0] %} + {% assign spec = pair[1] %} + {% assign type = spec.type %} + +
+ {% if type == 'string' %} + + + {% else %} +

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

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