{{ $slug := ((.Context).Value "params").Slug }} {{ $page := ((.Context).Value "adapter").GetPage $slug }} {{ $editableSlugs := ((.Context).Value "adapter").EditableSlugs }} {{ $csrfToken := (.Context).Value "csrfToken" }} {{ $noEmpty := .FormValue "no-empty" }} {{ template "header" . }} {{ if ($page).Error }}

Page Error

{{($page).Error}} {{ else }}

Edit Page

{{ if $noEmpty }} Empty fields are not allowed - please try again
{{ end }}

{{ if $editableSlugs }}

{{ end }} last edited {{($page).Edited.Format "2006-01-02 15:04"}}


Formatting help
Danger Zone


{{ end }} {{ template "footer" . }}