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"}}{{$d := .Data}}
2{{template "back-nav" dict "Href" $d.Page.Href "Label" $d.Page.Label}}
3{{template "page-header" dict "Title" "Make team page" "Sub" "The blocks you choose become a new team page that everyone in the team can open. Your note keeps a link to it in their place, and stays yours."}}
4<form rst-form method="post" action="{{$d.Action}}"><input type="hidden" name="grammar" value="{{grammar}}">
5<input type="hidden" name="revision" value="{{$d.Page.Revision}}">
6{{template "field-text" dict "Name" "title" "Label" "Title of the new page" "Value" $d.Title "Error" $d.Error "Required" true}}
7{{with $d.Taken}}<p mapa-meta><a href="{{.}}">Open the page with that title</a></p>{{end}}
8<fieldset mapa-choose>
9<legend>Blocks to share</legend>
10{{range $d.Blocks}}<label mapa-choice><input type="checkbox" name="block" value="{{.Block}}"{{if index $d.Chosen .Block}} checked{{end}}><span mapa-choice-body>{{.HTML}}</span></label>
11{{end}}</fieldset>
12{{template "form-foot" dict "Submit" "Make team page" "CancelHref" $d.Page.Href "CancelLabel" "Cancel"}}
13</form>
14{{end}}
15