<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css" integrity="sha512-xh6O/CkQoPOWDdYTDqeRdPCVd1SpvCA9XXcUnZS2FmJNp1coAFzvtCN9BmamE+4aHK8yyUHUSCcJHgXloTyT2A==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="style.css">
    <title><%= title%></title>
</head>
<body>
    <%- include ('./partials/nav.ejs') %> 
    <div class="form">
        <h2 id="form-head">Enter the details</h2><hr>
        <form action="/add" method="post" enctype="multipart/form-data">
            <label for="Name">Name:</label>
            <input type="text" name="Name" placeholder="Joseph" required><br>
            <label for="Email">E-mail:</label>
            <input type="email" name="Email" placeholder="xyz@gmail.com" required><br>
            <label for="Phone">Contact:</label>
            <input type="number" name="Phone" placeholder="9999988888" required><br>
            <label for="image" required>Select Image:</label>
            <input type="file" name="image"><br>
            <button type="submit" class="submit">Add User</button>
        </form>
    </div>
</body>
</html>