-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix delete
button in edit view
#437
Comments
I found an existing template confirm_delete.html for displaying to-be-deleted items in The template needs cleaning up but this issue is already more time-consuming than I thought it would be, so I want to avoid adding more complexity by having to make sure I don't break anything for the other views that make use of it. |
You don't have to touch the
which has
|
Aha. So I looked at something different based on a misunderstanding on what the issue was about, but ran into a different problem in the process, which is what I've been working on. I never looked at the edit template, only the edit view, and started from the only place I knew had a delete button, which is the detail view. Deleting is broken for me there, so it didn't occur to me to that this was about something else that's much simpler. o__O Well, ok... I'll look into this smaller thing as well, but with the amount of time I've spent on this now, I'll mostly submit what I've come up with to fix the (larger) problem on my end. (Which may need further adaptation for other projects.) |
Well I guess I'll open a separate issue & create a separate PR for my underlying problem with deleting. |
Draft PR for the more general fix is here: #458 |
Well, the actual fix for this issue was indeed easy! 🙃😝 |
The
delete
button in the edit view leads to 404, it should point to the delete view of the entityThe text was updated successfully, but these errors were encountered: