From fe8e6b60cfa4e83f4ba4aff9acadc94dedcc4114 Mon Sep 17 00:00:00 2001 From: Atiwit Pattanapukdee <65160394@go.buu.ac.th> Date: Wed, 19 Mar 2025 00:27:49 +0700 Subject: [PATCH] Project Round 7 --- views/profile.ejs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/views/profile.ejs b/views/profile.ejs index 2ccb35a..74cad49 100644 --- a/views/profile.ejs +++ b/views/profile.ejs @@ -3,12 +3,12 @@ <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>Profile - <%= user.name %></title> + <title>Profile - <%= users.name %></title> <link rel="stylesheet" href="/css/profile.css"> </head> <body> <header> - <h1>Welcome, <%= user.name %>!</h1> + <h1>Welcome, <%= users.name %>!</h1> <nav> <a href="/">Home</a> <a href="/logout">Logout</a> @@ -18,8 +18,8 @@ <section class="profile-container"> <h2>Your Profile</h2> <div class="profile-card"> - <p><strong>Name:</strong> <%= user.name %></p> - <p><strong>Email:</strong> <%= user.email %></p> + <p><strong>Name:</strong> <%= users.name %></p> + <p><strong>Email:</strong> <%= users.email %></p> </div> <a href="/edit-profile" class="btn-edit">Edit Profile</a> -- GitLab