aboutsummaryrefslogtreecommitdiff
path: root/cmd/web/templates/articles/partials/comments-wrapper.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/web/templates/articles/partials/comments-wrapper.tmpl')
-rw-r--r--cmd/web/templates/articles/partials/comments-wrapper.tmpl26
1 files changed, 0 insertions, 26 deletions
diff --git a/cmd/web/templates/articles/partials/comments-wrapper.tmpl b/cmd/web/templates/articles/partials/comments-wrapper.tmpl
deleted file mode 100644
index 2f401de..0000000
--- a/cmd/web/templates/articles/partials/comments-wrapper.tmpl
+++ /dev/null
@@ -1,26 +0,0 @@
-<div id="project-comments-wrapper">
- {{ range $comment := .Project.Comments }}
- {{ template "projects/partials/comments-card" Dict "Comment" $comment }}
- {{ end }}
-</div>
-
-{{ if .IsAuthenticated }}
- <div id="form-message"></div>
-
- {{ template "projects/partials/comments-form" . }}
-{{ else }}
- <div>
- <a href="/htmx/sign-in" hx-get="/htmx/sign-in" hx-target="#app-body"
- hx-push-url="/sign-in"
- >
- Sign in
- </a>
- or
- <a href="/htmx/sign-up" hx-get="/htmx/sign-up" hx-target="#app-body"
- hx-push-url="/sign-up"
- >
- sign up
- </a>
- to add comments on this project.
- </div>
-{{ end }} \ No newline at end of file