links to instances and schemas from instance links

integration-tests
Josha von Gizycki 6 years ago
parent 7bdb38e219
commit acc9280f8a

@ -77,8 +77,11 @@
name (if empty [:i "empty"] (h name))]] name (if empty [:i "empty"] (h name))]]
[:tr [:tr
[:td name] [:td name]
[:td (h (:name target))] [:td [:a {:href (path :instance-show target)}
[:td (h (:name schema))] (h (:name target))]]
[:td [:a {:href (path :instance-list
{:schema-uuid (:uuid schema)})}
(h (:name schema))]]
[:td (prettify-dt (:created_at link))]])]]])])) [:td (prettify-dt (:created_at link))]])]]])]))
(defn edit! [instance form form-data schemas req] (defn edit! [instance form form-data schemas req]

Loading…
Cancel
Save