Fixed the styling of the edit page form.
This commit is contained in:
parent
ab5c101fcc
commit
c8c0be7024
|
@ -3,9 +3,10 @@
|
||||||
{{- $postTarget = printf "/sites/%v/pages/%v" .site.ID .page.ID -}}
|
{{- $postTarget = printf "/sites/%v/pages/%v" .site.ID .page.ID -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
<form method="post" action="{{$postTarget}}" class="post-form">
|
<form method="post" action="{{$postTarget}}" class="post-form">
|
||||||
<input name="title" placeholder="Title" value="{{.page.Title}}">
|
<div class="main-area">
|
||||||
|
<input name="title" type="text" placeholder="Title" value="{{.page.Title}}">
|
||||||
<textarea name="body">{{.page.Body}}</textarea>
|
<textarea name="body">{{.page.Body}}</textarea>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="bottom-bar">
|
<div class="bottom-bar">
|
||||||
<input type="submit" value="Post">
|
<input type="submit" value="Post">
|
||||||
|
|
Loading…
Reference in a new issue