cpolis/web/templates/published-articles.html

15 lines
414 B
HTML
Raw Permalink Normal View History

2024-08-25 06:35:15 +02:00
{{define "page-content"}}
<h2>Artikel löschen</h2>
<div class="flex flex-col gap-4">
2024-09-28 12:17:03 +02:00
{{range .Articles}}
<button class="btn" hx-get="/article/{{$.Action}}/{{.ID}}" hx-target="#page-content">
2024-08-25 06:35:15 +02:00
<h1 class="font-bold text-2xl">{{.Title}}</h1>
2024-10-27 07:20:23 +01:00
<p>{{.Summary}}</p>
2024-08-25 06:35:15 +02:00
</button>
{{end}}
2024-09-28 12:17:03 +02:00
2024-08-25 06:35:15 +02:00
<button class="action-btn" hx-get="/hub" hx-target="#page-content">Zurück</button>
</div>
{{end}}