Changed URL patterns to be more specific

This commit is contained in:
2024-04-03 20:24:54 +02:00
parent ca70fa6d4d
commit a3c53b1b20
13 changed files with 55 additions and 55 deletions

View File

@ -2,13 +2,13 @@
<div class="flex flex-col gap-4">
{{range .RejectedArticles}}
{{if index $.MyIDs .ID}}
<button class="btn" hx-get="/review-rejected-article/{{.ID}}/" hx-target="#page-content">
<button class="btn" hx-get="/review-rejected-article/{{.ID}}" hx-target="#page-content">
<h1 class="font-bold text-2xl">{{.Title}}</h1>
<p>{{.Description}}</p>
</button>
{{end}}
{{end}}
<button class="action-btn" hx-get="/hub/" hx-target="#page-content">Zurück</button>
<button class="action-btn" hx-get="/hub" hx-target="#page-content">Zurück</button>
</div>
{{end}}