2024-03-01 11:30:31 +01:00
|
|
|
{{define "page-content"}}
|
|
|
|
<form>
|
2024-04-01 14:38:31 +02:00
|
|
|
<div class="flex flex-col gap-4">
|
2024-03-28 08:41:38 +01:00
|
|
|
{{range .}}
|
2024-04-01 14:38:31 +02:00
|
|
|
<div class="border px-2 py-1 rounded-md flex gap-2">
|
2024-03-28 08:41:38 +01:00
|
|
|
<input required id="{{.ID}}" name="id" type="radio" value="{{.ID}}" />
|
2024-04-01 14:38:31 +02:00
|
|
|
<label class="w-full" for="{{.ID}}">
|
|
|
|
<h1 class="font-bold text-2xl">{{.Title}}</h1>
|
|
|
|
<p>{{.Description}}</p>
|
|
|
|
</label>
|
2024-03-28 08:41:38 +01:00
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
|
2024-04-01 14:22:59 +02:00
|
|
|
<div class="btn-area">
|
|
|
|
<input class="action-btn" type="submit" value="Auswählen" hx-post="/review-unpublished-article/"
|
|
|
|
hx-target="#page-content" />
|
|
|
|
<button class="btn" hx-get="/hub/" hx-target="#page-content">Zurück</button>
|
|
|
|
</div>
|
2024-03-01 11:30:31 +01:00
|
|
|
</form>
|
2024-03-28 08:41:38 +01:00
|
|
|
|
2024-03-01 11:30:31 +01:00
|
|
|
{{end}}
|