2024-03-01 11:30:31 +01:00
|
|
|
{{define "page-content"}}
|
|
|
|
<form>
|
2024-03-07 20:11:28 +01:00
|
|
|
<h2>{{.Title}}</h2>
|
2024-03-10 15:03:46 +01:00
|
|
|
<p>{{.Description}}</p>
|
|
|
|
{{.Content}}
|
2024-03-07 20:11:28 +01:00
|
|
|
<input name="id" type="hidden" value="{{.ID}}" />
|
2024-03-01 11:30:31 +01:00
|
|
|
<input type="submit" value="Veröffentlichen" hx-post="/publish-article/" hx-target="#page-content" />
|
|
|
|
<input type="submit" value="Ablehnen" hx-post="/reject-article/" hx-target="#page-content" />
|
|
|
|
</form>
|
|
|
|
<button hx-get="/hub/" hx-target="#page-content">Zurück</button>
|
|
|
|
{{end}}
|