|
|
|
@ -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)
|
|
|
|
|