Download this file
| 1 | {{define "home-connect"}} |
| 2 | <header rst-page-header><div rst-page-header-titles><h1>{{.Title}}</h1></div></header> |
| 3 | <div rst-box> |
| 4 | <p>{{.Body}}</p>{{if .Address}}<p style="overflow-wrap: anywhere"><strong><bdi>{{.Address}}</bdi></strong></p>{{end}} |
| 5 | {{if .PostAction}}<form method="post" action="{{.Action}}"><button rst-btn="primary" type="submit">{{.ActionLabel}}</button></form> |
| 6 | {{else}}<a rst-btn="primary" href="{{.Action}}">{{.ActionLabel}}</a>{{end}} |
| 7 | {{if .CancelLabel}}<a rst-btn="ghost" href="/">{{.CancelLabel}}</a>{{end}} |
| 8 | </div> |
| 9 | {{end}} |
| 10 | |