|
|
@ -68,15 +68,15 @@
|
|
|
|
[:thead
|
|
|
|
[:thead
|
|
|
|
[:tr
|
|
|
|
[:tr
|
|
|
|
[:th "Name"]
|
|
|
|
[:th "Name"]
|
|
|
|
[:th "Schema"]
|
|
|
|
|
|
|
|
[:th "Instance"]
|
|
|
|
[:th "Instance"]
|
|
|
|
|
|
|
|
[:th "Schema"]
|
|
|
|
[:th "Created"]]]
|
|
|
|
[:th "Created"]]]
|
|
|
|
[:tbody
|
|
|
|
[:tbody
|
|
|
|
(for [{:keys [link target schema]} (:links-out instance)]
|
|
|
|
(for [{:keys [link target schema]} (:links-out instance)]
|
|
|
|
[:tr
|
|
|
|
[:tr
|
|
|
|
[:td (h (:name link))]
|
|
|
|
[:td (h (:name link))]
|
|
|
|
[:td (h (:name schema))]
|
|
|
|
|
|
|
|
[:td (h (:name target))]
|
|
|
|
[:td (h (:name target))]
|
|
|
|
|
|
|
|
[:td (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]
|
|
|
@ -101,16 +101,16 @@
|
|
|
|
[:thead
|
|
|
|
[:thead
|
|
|
|
[:tr
|
|
|
|
[:tr
|
|
|
|
[:th "Name"]
|
|
|
|
[:th "Name"]
|
|
|
|
[:th "Schema"]
|
|
|
|
|
|
|
|
[:th "Instance"]
|
|
|
|
[:th "Instance"]
|
|
|
|
|
|
|
|
[:th "Schema"]
|
|
|
|
[:th "Created"]
|
|
|
|
[:th "Created"]
|
|
|
|
[:th]]]
|
|
|
|
[:th]]]
|
|
|
|
[:tbody
|
|
|
|
[:tbody
|
|
|
|
(for [{:keys [link target schema]} (:links-out instance)]
|
|
|
|
(for [{:keys [link target schema]} (:links-out instance)]
|
|
|
|
[:tr
|
|
|
|
[:tr
|
|
|
|
[:td (h (:name link))]
|
|
|
|
[:td (h (:name link))]
|
|
|
|
[:td (h (:name schema))]
|
|
|
|
|
|
|
|
[:td (h (:name target))]
|
|
|
|
[:td (h (:name target))]
|
|
|
|
|
|
|
|
[:td (h (:name schema))]
|
|
|
|
[:td (prettify-dt (:created_at link))]
|
|
|
|
[:td (prettify-dt (:created_at link))]
|
|
|
|
[:td (hform/form-to [:delete (path :instance-link-delete
|
|
|
|
[:td (hform/form-to [:delete (path :instance-link-delete
|
|
|
|
{:uuid (:uuid instance)
|
|
|
|
{:uuid (:uuid instance)
|
|
|
|