Fixed the styling of the edit page form.

This commit is contained in:
Leon Mika 2025-03-30 11:26:45 +11:00
parent ab5c101fcc
commit c8c0be7024

View file

@ -3,9 +3,10 @@
{{- $postTarget = printf "/sites/%v/pages/%v" .site.ID .page.ID -}}
{{- end -}}
<form method="post" action="{{$postTarget}}" class="post-form">
<input name="title" placeholder="Title" value="{{.page.Title}}">
<textarea name="body">{{.page.Body}}</textarea>
<div class="main-area">
<input name="title" type="text" placeholder="Title" value="{{.page.Title}}">
<textarea name="body">{{.page.Body}}</textarea>
</div>
<div class="bottom-bar">
<input type="submit" value="Post">