akf-forum/views/users.ejs
Akif9748 ae83e014a0 Mongoose is fixed & optimized
The dublicate key error fixed, ids as string.
classes removed. using mongoose's magic
2022-08-09 19:16:34 +03:00

27 lines
No EOL
610 B
Text

<!DOCTYPE html>
<html lang="en">
<%- include("extra/header", {title: "User list!" }) %>
<body>
<%- include("extra/navbar", {user}) %>
<h1>USERS:</h1>
<ul>
<% users.forEach(user=>{ %>
<li>
<h1><a href=<%= user.getLink() %> > <%= user.name %></a>
<img class="yuvarlak" src=<%=user.avatar %> alt=<%= user.name %>>
</h1>
</li>
<% }); %>
</ul>
<%- include("extra/footer") %>
</body>
</html>