Download this file
| 1 | {{/* home-link — the Home account-connection screens, and the signed-out |
| 2 | page, which is estilo's estilo-signed-out. */}} |
| 3 | {{define "content"}} |
| 4 | {{- if .SignedOut}}{{template "estilo-signed-out" .SignedOut}}{{else}} |
| 5 | <header rst-page-header><div rst-page-header-titles><h1>{{.Title}}</h1></div></header> |
| 6 | <div rst-box> |
| 7 | <p>{{.Body}}</p>{{if .Address}}<p style="overflow-wrap: anywhere"><strong>{{.Address}}</strong></p>{{end}} |
| 8 | {{if .PostAction}}<form method="post" action="{{.Action}}"><button rst-btn="primary" type="submit">{{.ActionLabel}}</button></form> |
| 9 | {{else}}<a rst-btn="primary" href="{{.Action}}">{{.ActionLabel}}</a>{{end}} |
| 10 | {{if .CancelLabel}}<a rst-btn="ghost" href="/">{{.CancelLabel}}</a>{{end}} |
| 11 | </div> |
| 12 | {{- end}} |
| 13 | {{end}} |
| 14 | |