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.tmpl18
1 files changed, 0 insertions, 18 deletions
diff --git a/cmd/web/templates/articles/partials/comments-form.tmpl b/cmd/web/templates/articles/partials/comments-form.tmpl
deleted file mode 100644
index c88cac6..0000000
--- a/cmd/web/templates/articles/partials/comments-form.tmpl
+++ /dev/null
@@ -1,18 +0,0 @@
-<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"
- {{ end }}
->
- <div class="card-block">
- <textarea class="form-control" placeholder="Write a comment..." rows="3" name="comment"></textarea>
- </div>
- <div class="card-footer">
- <img src="{{ .Project.User.Image }}" class="comment-author-img" />
- <button class="btn btn-sm btn-primary">
- Post Comment
- </button>
- </div>
-</form> \ No newline at end of file