Added ability to delete articles
This commit is contained in:
13
web/templates/published-articles.html
Normal file
13
web/templates/published-articles.html
Normal file
@ -0,0 +1,13 @@
|
||||
{{define "page-content"}}
|
||||
<h2>Artikel löschen</h2>
|
||||
|
||||
<div class="flex flex-col gap-4">
|
||||
{{range .}}
|
||||
<button class="btn" hx-get="/review-article-for-deletion/{{.ID}}" hx-target="#page-content">
|
||||
<h1 class="font-bold text-2xl">{{.Title}}</h1>
|
||||
<p>{{.Description}}</p>
|
||||
</button>
|
||||
{{end}}
|
||||
<button class="action-btn" hx-get="/hub" hx-target="#page-content">Zurück</button>
|
||||
</div>
|
||||
{{end}}
|
Reference in New Issue
Block a user