aboutsummaryrefslogtreecommitdiff
path: root/cmd/web/templates/articles/partials/detail-post-meta.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/web/templates/articles/partials/detail-post-meta.tmpl')
-rw-r--r--cmd/web/templates/articles/partials/detail-post-meta.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd/web/templates/articles/partials/detail-post-meta.tmpl b/cmd/web/templates/articles/partials/detail-post-meta.tmpl
index 313f818..eb957b4 100644
--- a/cmd/web/templates/articles/partials/detail-post-meta.tmpl
+++ b/cmd/web/templates/articles/partials/detail-post-meta.tmpl
@@ -24,9 +24,9 @@
</button>
<button class="btn btn-outline-danger btn-sm delete-button"
- hx-delete="/htmx/articles/{{ .Project.Slug }}"
+ hx-delete="/htmx/projects/{{ .Project.Slug }}"
hx-target="#app-body"
- hx-confirm="Are you sure you wish to delete the article?"
+ hx-confirm="Are you sure you wish to delete the project?"
>
<i class="ion-trash-a"></i>
Delete Project
@@ -34,9 +34,9 @@
{{ else }}
- {{ template "articles/partials/follow-button" . }}
+ {{ template "projects/partials/follow-button" . }}
- {{ template "articles/partials/favorite-button" . }}
+ {{ template "projects/partials/favorite-button" . }}
{{ end }}
</div> \ No newline at end of file