@@ -39,7 +39,7 @@ script Logout() {
3939 window .location .replace (" /" );
4040}
4141
42- templ Page (user *user.ReadResponse ) {
42+ templ Page (attributes *user.ReadResponseAttributes ) {
4343 @ layout.Index (scripts.Head {}, scripts.Body {}) {
4444 <div class =" ui centered grid container" style =" height: 100%;" >
4545 <div class =" sixteen wide column" >
@@ -56,11 +56,11 @@ templ Page(user *user.ReadResponse) {
5656 <img class =" ui avatar image" src =" /public/static/assets/favicon.png" />
5757 <div class =" content" >
5858 <div class =" ui inverted dropdown" >
59- <div class =" text" >{ user .Username }</div >
59+ <div class =" text" >{ attributes .Username }</div >
6060 <i class =" dropdown icon" ></i >
6161 <div class =" menu" >
6262 <div class =" header" >
63- if !user .Verified {
63+ if !attributes .Verified {
6464 <i class =" inverted red times circle icon" data-variation =" red" data-content =" Unverified" ></i >
6565 } else {
6666 <i class =" inverted green check circle icon" data-variation =" green" data-content =" Verified" ></i >
@@ -85,10 +85,10 @@ templ Page(user *user.ReadResponse) {
8585 </div >
8686 </div >
8787 <div class =" sixteen wide mobile eight wide computer column" >
88- @ UpdateForm (user .Email , user .Username )
88+ @ UpdateForm (attributes .Email , attributes .Username )
8989 @ DeleteForm ()
9090 </div >
91- if !user .Verified {
91+ if !attributes .Verified {
9292 <div class =" ui looping pulsating transition blue bottom fixed nag" >
9393 <div class =" title" >
9494 <i class =" check circle icon" ></i >
0 commit comments