Now everyone only sees their own rejected articles
This commit is contained in:
@ -1,9 +1,11 @@
|
||||
{{define "page-content"}}
|
||||
<form>
|
||||
{{range .}}
|
||||
{{range .RejectedArticles}}
|
||||
{{if index $.MyIDs .ID}}
|
||||
<input required id="{{.ID}}" name="id" type="radio" value="{{.ID}}" />
|
||||
<label for="{{.ID}}">{{.Title}}</label>
|
||||
{{end}}
|
||||
{{end}}
|
||||
<input type="submit" value="Auswählen" hx-post="/review-rejected-article/" hx-target="#page-content" />
|
||||
</form>
|
||||
<button hx-get="/hub/" hx-target="#page-content">Zurück</button>
|
||||
|
Reference in New Issue
Block a user