2026-02-20 23:22:10 +00:00
|
|
|
<main class="flex-grow-1 position-relative">
|
|
|
|
|
<form action="/sites/{{.site.ID}}/posts" method="post" class="container-fluid post-form p-2">
|
2026-02-21 23:09:34 +00:00
|
|
|
<input type="hidden" name="guid" value="{{ .post.GUID }}">
|
2026-02-20 23:22:10 +00:00
|
|
|
<div class="mb-2">
|
2026-02-21 23:09:34 +00:00
|
|
|
<input type="text" name="title" class="form-control" placeholder="Title" value="{{ .post.Title }}">
|
2026-02-20 23:22:10 +00:00
|
|
|
</div>
|
|
|
|
|
<div>
|
2026-02-21 23:09:34 +00:00
|
|
|
<textarea name="body" class="form-control" rows="3">{{.post.Body}}</textarea>
|
2026-02-20 23:22:10 +00:00
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<input type="submit" class="btn btn-primary mt-2" value="Publish">
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</main>
|