[Show and Tell] Use htmx replace rails ujs for delete request. #1878
Unanswered
zw963
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Following code works on my lucky 1.1.1 project.
Step 1:
Replace rails ujs with htmx in
src/js/app.js
.Step 2: Replace old delete link in edit page with:
Done!
Beta Was this translation helpful? Give feedback.
All reactions