|
|
@ -61,7 +61,7 @@
|
|
|
|
[:td (prettify-dt (:updated_at instance))]
|
|
|
|
[:td (prettify-dt (:updated_at instance))]
|
|
|
|
[:td (prettify-dt (:created_at instance))]])]]]))
|
|
|
|
[:td (prettify-dt (:created_at instance))]])]]]))
|
|
|
|
|
|
|
|
|
|
|
|
(defn show! [instance req]
|
|
|
|
(defn show! [instance schemas req]
|
|
|
|
(view/layout!
|
|
|
|
(view/layout!
|
|
|
|
:request req
|
|
|
|
:request req
|
|
|
|
:content
|
|
|
|
:content
|
|
|
@ -158,7 +158,16 @@
|
|
|
|
[:td [:a {:href (path :instance-list
|
|
|
|
[:td [:a {:href (path :instance-list
|
|
|
|
{:schema-uuid (:uuid schema)})}
|
|
|
|
{:schema-uuid (:uuid schema)})}
|
|
|
|
(h (:name schema))]]
|
|
|
|
(h (:name schema))]]
|
|
|
|
[:td (prettify-dt (:created_at link))]])]]])]))
|
|
|
|
[:td (prettify-dt (:created_at link))]])]]])
|
|
|
|
|
|
|
|
[:section.link-instance
|
|
|
|
|
|
|
|
[:h2 "Link Instance with Instance of Schema..."]
|
|
|
|
|
|
|
|
[:ul
|
|
|
|
|
|
|
|
(for [schema schemas]
|
|
|
|
|
|
|
|
[:li
|
|
|
|
|
|
|
|
[:a {:href (path :instance-link-selection
|
|
|
|
|
|
|
|
{:uuid (:uuid instance)
|
|
|
|
|
|
|
|
:schema-uuid (:uuid schema)})}
|
|
|
|
|
|
|
|
(h (:name schema))]])]]]))
|
|
|
|
|
|
|
|
|
|
|
|
(defn edit! [instance form form-data schemas req]
|
|
|
|
(defn edit! [instance form form-data schemas req]
|
|
|
|
(view/layout!
|
|
|
|
(view/layout!
|
|
|
|