aboutsummaryrefslogtreecommitdiff
path: root/cmd/web/templates/articles/partials/comments-form.tmpl
diff options
context:
space:
mode:
authorVikas Kushwaha <dev@vikas.rocks>2025-02-11 17:45:19 +0530
committerVikas Kushwaha <dev@vikas.rocks>2025-02-11 17:45:19 +0530
commitd7d066cfa1cd16dd502000077696388043c4dab9 (patch)
treef43b009ae023f1aec580f0096e7712861cbab655 /cmd/web/templates/articles/partials/comments-form.tmpl
parenta28b31e0f40a34674a7e14405d21bdbc5d53c2fb (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.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/web/templates/articles/partials/comments-form.tmpl b/cmd/web/templates/articles/partials/comments-form.tmpl
index 09f9697..3fe5064 100644
--- a/cmd/web/templates/articles/partials/comments-form.tmpl
+++ b/cmd/web/templates/articles/partials/comments-form.tmpl
@@ -1,5 +1,5 @@
<form id="article-comment-form" class="card comment-form"
- hx-post="/htmx/articles/{{ .Article.Slug }}/comments"
+ hx-post="/htmx/articles/{{ .Project.Slug }}/comments"
hx-target="#article-comments-wrapper" hx-swap="afterbegin show:top"
{{ if .IsOob }}
@@ -10,7 +10,7 @@
<textarea class="form-control" placeholder="Write a comment..." rows="3" name="comment"></textarea>
</div>
<div class="card-footer">
- <img src="{{ .Article.User.Image }}" class="comment-author-img" />
+ <img src="{{ .Project.User.Image }}" class="comment-author-img" />
<button class="btn btn-sm btn-primary">
Post Comment
</button>