2015-09-14 09:46:31 +00:00
|
|
|
{{ define "content" }}
|
2015-09-13 11:28:26 +00:00
|
|
|
{{ 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>
|
|
|
|
|
2015-09-13 20:10:54 +00:00
|
|
|
<form method="POST" action="">
|
2015-09-13 19:37:20 +00:00
|
|
|
<textarea name="content">{{ .Content }}</textarea>
|
|
|
|
<input type="submit" value="Save">
|
|
|
|
</form>
|
2015-09-13 11:28:26 +00:00
|
|
|
|
2015-09-13 19:37:20 +00:00
|
|
|
</div>
|
2015-09-13 11:28:26 +00:00
|
|
|
|
|
|
|
{{ end }}
|
2015-09-14 09:46:31 +00:00
|
|
|
{{ end }}
|