aboutsummaryrefslogtreecommitdiff
path: root/cmd/web/templates/articles/partials/comments-form.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/web/templates/articles/partials/comments-form.tmpl')
-rw-r--r--cmd/web/templates/articles/partials/comments-form.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/web/templates/articles/partials/comments-form.tmpl b/cmd/web/templates/articles/partials/comments-form.tmpl
index 3fe5064..c88cac6 100644
--- a/cmd/web/templates/articles/partials/comments-form.tmpl
+++ b/cmd/web/templates/articles/partials/comments-form.tmpl
@@ -1,6 +1,6 @@
-<form id="article-comment-form" class="card comment-form"
- hx-post="/htmx/articles/{{ .Project.Slug }}/comments"
- hx-target="#article-comments-wrapper" hx-swap="afterbegin show:top"
+<form id="project-comment-form" class="card comment-form"
+ hx-post="/htmx/projects/{{ .Project.Slug }}/comments"
+ hx-target="#project-comments-wrapper" hx-swap="afterbegin show:top"
{{ if .IsOob }}
hx-swap-oob="true"