{{define "content"}} {{/* rastrillo's [rst-search] IS the field box: its border, radius and focus ring are on the form, and the input inside is transparent. The button sits inside it, as rastrillo's list-bar-search does. memoria.css used to draw a second bordered box on the input, which is the double border the polish audit found. */}}
{{/* The results region. search.js writes live results into it, and it is here rather than around the {{if}} because an absent region has nothing to write into: on a page with no search this empty div is where the first results go. Nothing the person is typing into is inside it. rst-search-results-for is the query these results were rendered from, written by the server. search.js reads it instead of assuming the box and the screen agree: after a Back, a browser restores the input's value on its own schedule, and a script that trusted the box would think a stale screen was current. */}}

{{template "results" .}}
{{/* Adding content lives at /add now. The one message that still lands on this page is a failed delete, which redirects here. */}} {{if .Flash}}

{{.Flash}}

{{end}}

{{len .Documents}} document{{if ne (len .Documents) 1}}s{{end}}

Add content

{{if not .Documents}}

Nothing stored yet.

{{else}} {{range .Documents}} {{/* Delete asks first (delete.html): a link to the question, not a one-click POST. */}} {{end}}
TitleSourcePassagesUpdated
{{.Title}} {{.Source}} {{.Chunks}} {{.Updated}}Delete
{{end}}
{{end}}