diff --git a/src/wanijo/instance/view.clj b/src/wanijo/instance/view.clj index f55c312..0633f57 100644 --- a/src/wanijo/instance/view.clj +++ b/src/wanijo/instance/view.clj @@ -46,9 +46,8 @@ (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"]]] [:h2 "Properties"] (for [prop (:properties instance) :let [attr (:attribute prop) @@ -87,6 +86,8 @@ (h (-> instance :schema :name)) " " [:small (h (:name instance))]] + [:p [:small [:a {:href (path :instance-show instance)} + "Back to Instance"]]] [:h2 "Edit Instance"] (hform/form-to [:post (path :instance-edit instance)] (form/render-widgets form form-data req)