danirus / django-comments-xtd

A pluggable Django comments application with thread support, follow-up notifications, mail confirmation, like/dislike flags, moderation, a ReactJS plugin and Bootstrap 5.3.
https://django-comments-xtd.readthedocs.io
BSD 2-Clause "Simplified" License
594 stars 157 forks source link

"dislike" a comment not working properly, caused by a small error in dislike.html #358

Closed simonjoeca closed 2 years ago

simonjoeca commented 2 years ago

Issue: "dislike" a comment not working properly, such as comments/dislike/2/, it asks to fill the next form, which I happen to have one, on the same page as well.

Cause: in django_comments_xtd/dislike.html, the <form> missing a matching </form>, so it process everything till the next </form>

Solution: Just add the matching </form> in django_comments_xtd/dislike.html

danirus commented 2 years ago

Thanks @simonjoeca. You found it and provided the solution, that's almost it. It would simply be perfect if you could send a PR to fix it. Please, let me know. Otherwise I'll do it.