Download this file
| 1 | {{define "content"}}{{with .Data}}{{if .Choice}} |
| 2 | <header rst-page-header><div rst-page-header-titles><h1>{{.Title}}</h1></div></header> |
| 3 | <div rst-box> |
| 4 | <p>{{.Body}}</p> |
| 5 | {{- /* The member choice (Home spec 2026-11-14-oficina-id-native.md §8): |
| 6 | two POSTs carrying the proof's form token, neither the default. */}} |
| 7 | <div rst-form-foot> |
| 8 | <form method="post" action="{{.Choice.Action}}"><input type="hidden" name="token" value="{{.Choice.Token}}"><button rst-btn="primary" type="submit" name="choice" value="connect">{{.Choice.ConnectLabel}}</button></form> |
| 9 | <form method="post" action="{{.Choice.Action}}"><input type="hidden" name="token" value="{{.Choice.Token}}"><button rst-btn="ghost" type="submit" name="choice" value="new">{{.Choice.NewLabel}}</button></form></div> |
| 10 | </div> |
| 11 | {{else}}{{template "home-connect" .PageData}}{{end}}{{end}}{{end}} |
| 12 | |