add back to list link from instance-edit

integration-tests
Josha von Gizycki 6 years ago
parent a949046810
commit 5d1aec4aaf

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

Loading…
Cancel
Save