From dee6b3e3fd32b6b002a465e5723d51860e763b20 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 13 Apr 2015 18:50:25 -0400 Subject: slugify id from title, patch static special cases for now --- themes/okadmin/templates/index.liquid | 2 +- themes/okadmin/templates/resource.liquid | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'themes/okadmin/templates') diff --git a/themes/okadmin/templates/index.liquid b/themes/okadmin/templates/index.liquid index 330ed89..d25100f 100644 --- a/themes/okadmin/templates/index.liquid +++ b/themes/okadmin/templates/index.liquid @@ -16,7 +16,7 @@
    {% for data in resource.data %}
  1. - {{data.id}} + {{data.title}}
  2. {% endfor %} diff --git a/themes/okadmin/templates/resource.liquid b/themes/okadmin/templates/resource.liquid index abc59e9..aa3efe0 100644 --- a/themes/okadmin/templates/resource.liquid +++ b/themes/okadmin/templates/resource.liquid @@ -6,8 +6,8 @@ Back -
    -

    EDIT {{ resource.type }} '{{ resource.id }}'

    +
    +

    EDIT {{ resource.type }} '{{ resource.spec.title.value }}'

    {% include 'partials/inputs' %} -- cgit v1.2.3-70-g09d2