11 lines
490 B
HTML
11 lines
490 B
HTML
{{define "page-content"}}
|
|
<h2>Editor</h2>
|
|
<form>
|
|
<input name="article-title" placeholder="Titel" type="text" value="{{.Title}}" />
|
|
<textarea name="article-description" placeholder="Beschreibung">{{.Description}}</textarea>
|
|
<textarea name="article-content" placeholder="Artikel">{{.Content}}</textarea>
|
|
<input name="article-id" type="hidden" value="{{.ID}}" />
|
|
<input type="submit" value="Senden" hx-post="/resubmit-article/" hx-target="#page-content" />
|
|
</form>
|
|
{{end}}
|