Download this file
| 1 | {{define "content"}}{{$page := .Data.Page}} |
| 2 | {{template "mapa-doc-head" dict "Page" $page "Edit" ""}} |
| 3 | {{template "notice" .Data.Notice}} |
| 4 | <form rst-form method="post" action="{{.Data.Action}}" mapa-edit-form data-drafts="{{.Data.Drafts}}" data-version="{{.Data.Version}}"> |
| 5 | <input type="hidden" name="revision" value="{{.Data.Revision}}"> |
| 6 | <input type="hidden" name="version" value="{{.Data.Version}}"> |
| 7 | {{template "mapa-editor" dict "Body" .Data.Body "Error" .Data.Error "Upload" (printf "%s?upload=1" .Data.Action)}} |
| 8 | {{template "form-foot" dict "Submit" "Save" "CancelHref" $page.Href "CancelLabel" "Cancel"}} |
| 9 | </form> |
| 10 | {{template "mapa-page-images" dict "Images" .Data.Images "Back" (printf "%s/edit" $page.Href)}} |
| 11 | {{end}} |
| 12 | |