From 7db10b2a6cd6cbea246ccd6c77fe6518be76da20 Mon Sep 17 00:00:00 2001
From: Jules Laplace
Date: Wed, 8 Apr 2015 22:46:46 -0400
Subject: install.sh
---
themes/okadmin/templates/partials/inputs.liquid | 12 +++++++++++-
themes/okadmin/templates/resource.liquid | 2 +-
2 files changed, 12 insertions(+), 2 deletions(-)
(limited to 'themes')
diff --git a/themes/okadmin/templates/partials/inputs.liquid b/themes/okadmin/templates/partials/inputs.liquid
index 2726473..ad5beab 100644
--- a/themes/okadmin/templates/partials/inputs.liquid
+++ b/themes/okadmin/templates/partials/inputs.liquid
@@ -16,7 +16,17 @@
{% if spec.disabled %}
disabled="true"
{% endif %}
- name="{{name}}" rows="40" cols="80">{{spec.value}}
+ name="{{name}}">{{spec.value}}
+ {% else if type == 'enum' %}
+
{% else %}
Admin template doesn't support '{{type}}' properties!
{% endif %}
diff --git a/themes/okadmin/templates/resource.liquid b/themes/okadmin/templates/resource.liquid
index 2a6d2ce..26d62f2 100644
--- a/themes/okadmin/templates/resource.liquid
+++ b/themes/okadmin/templates/resource.liquid
@@ -5,7 +5,7 @@
- EDIT {{ resource.type }} {{ resource.spec.title.id }}
+ EDIT {{ resource.type }} '{{ resource.spec.title.id }}'