{{define "content"}} {{template "back-nav" dict "Href" "/pages" "Label" "Pages"}} {{template "page-header" dict "Title" "New page" "Sub" "A team page: everyone in the team can open it, and its title is the team's."}} {{/* One title field, as the sidebar's popover (level-up ยง4.7): the page opens once it is made, and its text is written there. A body that came with a refused POST rides along unseen, so nothing typed is lost. */}}
{{template "field-text" dict "Name" "title" "Label" "Title" "Value" .Data.Title "Error" .Data.Error "Required" true "Autofocus" true}} {{with .Data.Taken}}

Open the page with that title

{{end}} {{with .Data.Body}}{{end}} {{template "form-foot" dict "Submit" .Data.Label "CancelHref" "/pages" "CancelLabel" "Cancel"}}
{{end}}