edit.html 344 B

1234567891011121314
  1. {{ template "header" }}
  2. <main>
  3. <h1>Editing {{.Title}}</h1>
  4. <form action="/admin/save/{{.Title}}" method="POST">
  5. <div><textarea name="body" style="width:800px;height:400px;">{{printf "%s" .Body}}</textarea></div>
  6. <div><input type="submit" value="Save"></div>
  7. </form>
  8. </main>
  9. {{ template "footer" }}