diff options
author | Vikas Kushwaha <dev@vikas.rocks> | 2025-02-11 17:49:16 +0530 |
---|---|---|
committer | Vikas Kushwaha <dev@vikas.rocks> | 2025-02-11 17:49:16 +0530 |
commit | c720f1f85e5ec7c93604462b7a70e1f84a1ce244 (patch) | |
tree | 6e994a84d2f1b241c31f54e2a2eeca00795faf77 /cmd/web/templates/articles/partials/comments-form.tmpl | |
parent | d7d066cfa1cd16dd502000077696388043c4dab9 (diff) |
Substituted 'article' with 'project'
Diffstat (limited to 'cmd/web/templates/articles/partials/comments-form.tmpl')
-rw-r--r-- | cmd/web/templates/articles/partials/comments-form.tmpl | 6 |
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" |