diff options
author | Vikas Kushwaha <dev@vikas.rocks> | 2025-02-11 17:49:16 +0530 |
---|---|---|
committer | Vikas Kushwaha <dev@vikas.rocks> | 2025-02-11 17:49:16 +0530 |
commit | c720f1f85e5ec7c93604462b7a70e1f84a1ce244 (patch) | |
tree | 6e994a84d2f1b241c31f54e2a2eeca00795faf77 /cmd/web/templates/articles/partials/detail-post-meta.tmpl | |
parent | d7d066cfa1cd16dd502000077696388043c4dab9 (diff) |
Substituted 'article' with 'project'
Diffstat (limited to 'cmd/web/templates/articles/partials/detail-post-meta.tmpl')
-rw-r--r-- | cmd/web/templates/articles/partials/detail-post-meta.tmpl | 8 |
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 |