some indentation

integration-tests
Josha von Gizycki 6 years ago
parent 554e69d914
commit 7c02b5b904

@ -50,11 +50,10 @@
[:td
(prettify-dt (:created_at schema))]])]]
[:h1 "Pali sin e jaki ijo"]
(hform/form-to
[:post (path :schema-new)]
(form/field new-form :schema-name req)
(hform/submit-button "Pali")
(anti-forgery-field))])))
(hform/form-to [:post (path :schema-new)]
(anti-forgery-field)
(form/field new-form :schema-name req)
(hform/submit-button "Pali"))])))
(defn show-schema! [schema attrs req]
(view/layout!
@ -62,24 +61,21 @@
:content
[[:h1 "Jaki ijo "
[:span.schema-title__name (:name schema)]]
(hform/form-to
[:post "/schema/edit"])
(hform/form-to [:post "/schema/edit"])
[:h2 "Lili wan e jaki ijo"]
[:ul
(for [attr attrs]
[:li (:name attr)])]
[:h3 "Pali lili wan"]
(hform/form-to
[:post (path :attribute-new)]
(anti-forgery-field)
(hform/hidden-field "schema" (:uuid schema))
(form/field new-attr-form :name req)
(form/drop-down new-attr-form :type req)
(form/check-box new-attr-form :required req)
(hform/submit-button "Pali"))
(hform/form-to [:post (path :attribute-new)]
(anti-forgery-field)
(hform/hidden-field "schema" (:uuid schema))
(form/field new-attr-form :name req)
(form/drop-down new-attr-form :type req)
(form/check-box new-attr-form :required req)
(hform/submit-button "Pali"))
[:h2 "Mute pali"]
(hform/form-to
{:class "inline"}
[:delete (path :schema-delete schema)]
(anti-forgery-field)
(hform/submit-button "Pakala!"))]))
(hform/form-to {:class "inline"}
[:delete (path :schema-delete schema)]
(anti-forgery-field)
(hform/submit-button "Pakala!"))]))

Loading…
Cancel
Save