|
|
|
@ -7,6 +7,7 @@
|
|
|
|
|
[ring.util.anti-forgery :refer [anti-forgery-field]]))
|
|
|
|
|
|
|
|
|
|
(defn bulk-link-selection [instance forms req]
|
|
|
|
|
(clojure.pprint/pprint forms)
|
|
|
|
|
(view/layout
|
|
|
|
|
:request req
|
|
|
|
|
:content
|
|
|
|
@ -20,6 +21,8 @@
|
|
|
|
|
(for [{:keys [schema form]} forms]
|
|
|
|
|
[:fieldset
|
|
|
|
|
[:legend "Schema " [:strong (-> schema :name h)]]
|
|
|
|
|
(rest
|
|
|
|
|
(form/render-widgets form nil req))])
|
|
|
|
|
(form/render-widgets form
|
|
|
|
|
nil
|
|
|
|
|
req
|
|
|
|
|
{:render-anti-forgery-field? false})])
|
|
|
|
|
(hform/submit-button "Link!"))]))
|
|
|
|
|