package csrf import ( "fmt" "examples/shared" ) templ Display(u user) {
: { u.firstName }
: { u.lastName }
: { u.email }
} templ Form(u user, csrfToken string) {
} templ Index(u user) { @shared.Layout("Click to Edit") {

Click to Edit

@Display(u) } }