filebrowser/templates/edit.tmpl
Henrique Dias 85aea63307 update
2015-09-15 11:59:48 +01:00

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 }}