use proper delete button

integration-tests
Josha von Gizycki 6 years ago
parent 503711460f
commit 32aabf1187

@ -88,7 +88,7 @@
(hform/form-to [:delete (path :attribute-delete attr)]
(anti-forgery-field)
(hform/hidden-field "schema" (:uuid schema))
(hform/submit-button {:class "delete-btn"} "Delete!")
(view/delete-btn)
[:label "Created at "
[:em (prettify-dt (:created_at attr))]])])]
[:h3 "New attribute"]

Loading…
Cancel
Save