aboutsummaryrefslogtreecommitdiff
path: root/cmd/web/templates/articles/partials/comments-wrapper.tmpl
diff options
context:
space:
mode:
authorVikas Kushwaha <dev@vikas.rocks>2025-02-11 17:49:16 +0530
committerVikas Kushwaha <dev@vikas.rocks>2025-02-11 17:49:16 +0530
commitc720f1f85e5ec7c93604462b7a70e1f84a1ce244 (patch)
tree6e994a84d2f1b241c31f54e2a2eeca00795faf77 /cmd/web/templates/articles/partials/comments-wrapper.tmpl
parentd7d066cfa1cd16dd502000077696388043c4dab9 (diff)
Substituted 'article' with 'project'
Diffstat (limited to 'cmd/web/templates/articles/partials/comments-wrapper.tmpl')
-rw-r--r--cmd/web/templates/articles/partials/comments-wrapper.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd/web/templates/articles/partials/comments-wrapper.tmpl b/cmd/web/templates/articles/partials/comments-wrapper.tmpl
index 048f945..2f401de 100644
--- a/cmd/web/templates/articles/partials/comments-wrapper.tmpl
+++ b/cmd/web/templates/articles/partials/comments-wrapper.tmpl
@@ -1,13 +1,13 @@
-<div id="article-comments-wrapper">
+<div id="project-comments-wrapper">
{{ range $comment := .Project.Comments }}
- {{ template "articles/partials/comments-card" Dict "Comment" $comment }}
+ {{ template "projects/partials/comments-card" Dict "Comment" $comment }}
{{ end }}
</div>
{{ if .IsAuthenticated }}
<div id="form-message"></div>
- {{ template "articles/partials/comments-form" . }}
+ {{ template "projects/partials/comments-form" . }}
{{ else }}
<div>
<a href="/htmx/sign-in" hx-get="/htmx/sign-in" hx-target="#app-body"
@@ -21,6 +21,6 @@
>
sign up
</a>
- to add comments on this article.
+ to add comments on this project.
</div>
{{ end }} \ No newline at end of file