2015-09-14 17:46:31 +08:00
|
|
|
{{ define "content" }}
|
2015-09-13 19:28:26 +08:00
|
|
|
{{ with .Body }}
|
2015-09-13 19:14:18 +08:00
|
|
|
|
2015-09-14 03:37:20 +08:00
|
|
|
<div class="content">
|
|
|
|
|
|
|
|
<h1>Editing {{ .Name }}</h1>
|
|
|
|
|
2015-09-14 04:10:54 +08:00
|
|
|
<form method="POST" action="">
|
2015-09-14 03:37:20 +08:00
|
|
|
<textarea name="content">{{ .Content }}</textarea>
|
|
|
|
<input type="submit" value="Save">
|
|
|
|
</form>
|
2015-09-13 19:28:26 +08:00
|
|
|
|
2015-09-14 03:37:20 +08:00
|
|
|
</div>
|
2015-09-13 19:28:26 +08:00
|
|
|
|
|
|
|
{{ end }}
|
2015-09-14 17:46:31 +08:00
|
|
|
{{ end }}
|