add back to list link from instance-edit

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

@ -105,7 +105,12 @@
(h (-> instance :schema :name)) (h (-> instance :schema :name))
" " " "
[:small (h (:name instance))]] [:small (h (:name instance))]]
[:p [:small [:a {:href (path :instance-show 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"]]] "Back to Instance"]]]
[:h2 "Edit Instance"] [:h2 "Edit Instance"]
(hform/form-to [:post (path :instance-edit instance)] (hform/form-to [:post (path :instance-edit instance)]

Loading…
Cancel
Save