filebrowser/templates/edit.tmpl

14 lines
306 B
Cheetah
Raw Normal View History

{{ define "content" }} {{ with .Body }}
2015-09-13 11:14:18 +00:00
2015-09-13 19:37:20 +00:00
<div class="content">
<h1>Editing {{ .Name }}</h1>
<form method="POST" action="">
{{ template "frontmatter" .FrontMatter }}
2015-09-13 19:37:20 +00:00
<textarea name="content">{{ .Content }}</textarea>
<input type="submit" value="Save">
</form>
2015-09-13 19:37:20 +00:00
</div>
{{ end }} {{ end }}