12 lines
554 B
HTML
12 lines
554 B
HTML
{{define "page-content"}}
|
|
<form>
|
|
<input name="editor-title" type="text" value="{{.Title}}" />
|
|
<textarea name="editor-desc">{{.Desc}}</textarea>
|
|
<textarea name="editor-text">{{.Content}}</textarea>
|
|
<input name="uuid" type="hidden" value="{{.UUID}}" />
|
|
<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}}
|