2024-03-01 11:30:31 +01:00
|
|
|
{{define "page-content"}}
|
|
|
|
<form>
|
2024-03-17 08:46:49 +01:00
|
|
|
<h2>{{.Article.Title}}</h2>
|
|
|
|
<p>{{.Article.Description}}</p>
|
|
|
|
{{.Article.Content}}
|
|
|
|
|
|
|
|
<p>
|
2024-03-28 08:41:38 +01:00
|
|
|
{{range .Tags}}
|
|
|
|
{{.Name}}
|
|
|
|
{{end}}
|
2024-03-17 08:46:49 +01:00
|
|
|
</p>
|
|
|
|
|
2024-04-01 14:22:59 +02:00
|
|
|
<div class="btn-area">
|
2024-04-01 15:30:24 +02:00
|
|
|
<input class="action-btn" type="submit" value="Veröffentlichen" hx-post="/publish-article/{{.Article.ID}}/"
|
|
|
|
hx-target="#page-content" />
|
|
|
|
<input class="btn" type="submit" value="Ablehnen" hx-post="/reject-article/{{.Article.ID}}/"
|
2024-04-01 14:22:59 +02:00
|
|
|
hx-target="#page-content" />
|
|
|
|
<button class="btn" hx-get="/hub/" hx-target="#page-content">Zurück</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
2024-03-01 11:30:31 +01:00
|
|
|
{{end}}
|