24 lines
808 B
HTML
24 lines
808 B
HTML
{{define "page-content"}}
|
|
<form>
|
|
<div class="flex flex-col gap-4">
|
|
{{range .RejectedArticles}}
|
|
<div class="border px-2 py-1 rounded-md flex gap-2">
|
|
{{if index $.MyIDs .ID}}
|
|
<input required id="{{.ID}}" name="id" type="radio" value="{{.ID}}" />
|
|
<label class="w-full" for="{{.ID}}">
|
|
<h1 class="font-bold text-2xl">{{.Title}}</h1>
|
|
<p>{{.Description}}</p>
|
|
</label>
|
|
{{end}}
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
|
|
<div class="btn-area">
|
|
<input class="action-btn" type="submit" value="Auswählen" hx-post="/review-rejected-article/"
|
|
hx-target="#page-content" />
|
|
<button class="btn" hx-get="/hub/" hx-target="#page-content">Zurück</button>
|
|
</div>
|
|
</form>
|
|
{{end}}
|