filebrowser/templates/edit.tmpl

25 lines
502 B
Cheetah

{{ define "content" }} {{ with .Body }}
<form method="POST" action="">
<div class="container left scroll">
<h2>Metadata</h2>
{{ template "frontmatter" .FrontMatter }}
</div>
<div class="container main">
<textarea name="content" class="scroll">
{{ .Content }}
</textarea>
</div>
<div class="action-bar">
<button id="preview" class="left">Preview</button>
<input type="submit" value="Save">
<input type="submit" class="default" value="Publish">
</div>
</form>
{{ end }} {{ end }}