Download this file
| 1 | {{/* connect's account-connection pages (home_render.go), and the member |
| 2 | choice (Home spec 2026-11-14-oficina-id-native.md §8): two POSTs |
| 3 | carrying the proof's form token, neither the default. */}} |
| 4 | {{define "content"}}{{$L := localizer $}}{{with .Home}}{{if .Choice}} |
| 5 | <header rst-page-header><div rst-page-header-titles><h1>{{.Title}}</h1></div></header> |
| 6 | <div rst-box> |
| 7 | <p>{{.Body}}</p> |
| 8 | <div rst-form-foot> |
| 9 | <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> |
| 10 | <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> |
| 11 | </div> |
| 12 | {{else}}{{template "home-connect" (withL (.PageData) $L)}}{{end}}{{end}}{{end}} |
| 13 | |