EJS not functional in input tag
I want to update the value of the input tag based on the user so that they can easily make changes to the inform without typing everything all over again. But this ejs syntax I am using right now doesn't work. The values of the user data doesn't display in the form. What can I do? This is my code: <form action="http://localhost:3000/api/users" method="POST" id="add_user"> <div class="new_user"> <div class="form-group"> <label for="name" class="text-light">Name</label> <input type="hidden" name="id" value="<%= user._id %>"/> <input type="text" name="name" value="<%= user.name %>" placeholder="Mark Stoenis"/> </div> <div class="form-group"> <label for="email" class="text-light">Email</label> <input type="text" name="email" value="<%= user.email %>" placeholder="example@gmail.com"/> </div> <div class="form-group"> <label for="gender" class="text-light">Gender</label> <div class="radio inline"> <input type="radio" name="gender" value="Male" id="radio-2" <%= user.gender == 'Male' ? 'checked' : '' %>/> <label for="radio-2" class="radio-label">Male</label> </div> <div class="radio inline"> <input type="radio" name="gender" value="Female" id="radio-3" <%= user.gender == 'Female' ? 'checked' : '' %>/> <label for="radio-3" class="radio-label">Female</label> </div> </div> <div class="form-group"> <label for="gender" class="text-light">Status</label> <div class="radio inline"> <input type="radio" name="gender" value="Active" id="radio-4" <%= user.status == 'active' ? 'checked' : '' %>/> <label for="radio-4" class="radio-label">Active</label> </div> <div class="radio inline"> <input type="radio" name="gender" value="Inactive" id="radio-5" <%= user.gender ==