<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <form action="/update/<%= user._id %>" method="post">
        <input type="text" name="name" value="<%= user.name %>" placeholder="Enter name">
        <input type="email" name="email" value="<%= user.email %>" placeholder="Enter mail id">
        <input type="password" name="password" value="<%= user.password %>" placeholder="password">
        <button>Register</button>
    </form>
</body>
</html>