oficina / mapa Public

Clone
git clone https://amadan.net/oficina/mapa

Plain git — no account needed to clone.

Download

Download this file

1{{define "content"}}{{$page := .Data.Page}}
2{{template "back-nav" dict "Href" "/deleted" "Label" "Deleted pages"}}
3{{template "page-header" dict "Title" "Restore this page?" "Sub" "It comes back as a new page, with this text."}}
4<article mapa-body mapa-preview><pre mapa-source-text>{{$page.Record.Body}}</pre></article>
5<form rst-form method="post" action="{{.Data.Action}}">
6{{if eq $page.Kind "page"}}
7{{template "field-text" dict "Name" "title" "Label" "Title" "Value" .Data.Title "Error" .Data.Error "Required" true}}
8{{end}}
9{{template "form-foot" dict "Submit" "Restore" "CancelHref" "/deleted" "CancelLabel" "Cancel"}}
10</form>
11{{end}}
12