Added ability to reject and rework article
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
{{define "page-content"}}
|
||||
<form>
|
||||
<h2>{{.Title}}</h2>
|
||||
<p>{{.Desc}}</p>
|
||||
<span>{{.Content}}</span>
|
||||
<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" />
|
||||
|
Reference in New Issue
Block a user