|
|
|
@ -105,8 +105,13 @@
|
|
|
|
|
(h (-> instance :schema :name))
|
|
|
|
|
" "
|
|
|
|
|
[:small (h (:name instance))]]
|
|
|
|
|
[:p [:small [:a {:href (path :instance-show instance)}
|
|
|
|
|
"Back to Instance"]]]
|
|
|
|
|
[:p [:small
|
|
|
|
|
[:a {:href (path :instance-list
|
|
|
|
|
{:schema-uuid (-> instance :schema :uuid)})}
|
|
|
|
|
"Back to List"]
|
|
|
|
|
" | "
|
|
|
|
|
[: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)
|
|
|
|
|