{{ $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" . }}

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"}}


Danger Zone


{{ template "footer" . }}