From bd80169113c372a878afdf4a68ad4e4c3343ff86 Mon Sep 17 00:00:00 2001 From: Josha von Gizycki Date: Wed, 16 Jan 2019 16:25:07 +0100 Subject: [PATCH] add link back to list from instance-show --- src/wanijo/instance/view.clj | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/wanijo/instance/view.clj b/src/wanijo/instance/view.clj index 2a488e3..060bf6a 100644 --- a/src/wanijo/instance/view.clj +++ b/src/wanijo/instance/view.clj @@ -46,8 +46,13 @@ (h (-> instance :schema :name)) " " [:small (h (:name instance))]] - [:p [:small [:a {:href (path :instance-edit-form instance)} - "Edit Instance"]]] + [:p [:small + [:a {:href (path :instance-edit-form instance)} + "Edit Instance"] + " | " + [:a {:href (path :instance-list + {:schema-uuid (-> instance :schema :uuid)})} + "List Instances"]]] (when-not (empty? (:properties instance)) [:section.properties [:h2 "Properties"]