{{/* tokens.html: the API token page, drawn by tokens.go's renderTokens through ui's api-tokens partial. The new token's secret is in .Page.Created only in the response that made it: never put it in a link, a redirect or a flash. Path is the form's action, a URL in the body, so it goes through path: under a base path a bare /tokens would post to the hub. */}} {{define "content"}}{{$L := localizer $}}
{{T $L "rastrillo.ui.api_tokens_intro"}}
{{template "api-tokens" dict "L" $L "Page" .Page "Path" (path $ "/tokens")}} {{end}}