12 lines
443 B
HTML
12 lines
443 B
HTML
{{define "page-content"}}
|
|
<form>
|
|
<h2>{{.Title}}</h2>
|
|
<p>{{.Description}}</p>
|
|
{{.Content}}
|
|
<input name="id" type="hidden" value="{{.ID}}" />
|
|
<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}}
|