<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Add User</title>
    <link rel="stylesheet" href="add.css">
    <link href="https://fonts.googleapis.com/css?family=Ramabhadra" rel="stylesheet">
</head>

<body>
    <h3>Provide the Required Information</h3>
    <div id="form-block">
        <form method="POST" action="../../controller/process.php?action=new">
            <div id="form-block-half">
                <label for="email">Email</label>
                <input type="email" id="email" class="input" name="email" placeholder="User Email..." required>

                <label for="full_name">Full Name</label>
                <input type="text" id="full_name" class="input" name="full_name" placeholder="User Full Name..." required>

                <label for="gender">Gender</label>
                <select id="gender" name="gender" required>
                    <option value="" disabled selected>Select Gender</option>
                    <option value="male">Male</option>
                    <option value="female">Female</option>
                    <option value="other">Other</option>
                </select>

                <label for="status">Status</label>
                <select id="status" name="status" required>
                    <option value="" disabled selected>Select Status</option>
                    <option value="active">Active</option>
                    <option value="inactive">Inactive</option>
                    <option value="pending">Pending</option> 
                    <!-- Add other statuses as needed, e.g., PWD, Regular from your new schema -->
                    <option value="PWD">PWD</option>
                    <option value="Regular">Regular</option>
                </select>
            </div>

            <div id="form-block-half">
                <label for="password">Password</label>
                <input type="password" id="password" class="input" name="password" placeholder="Enter password..." required>

                <label for="confirmpassword">Confirm Password</label>
                <input type="password" id="confirmpassword" class="input" name="confirmpassword" placeholder="Confirm password..." required>

                <label for="phone">Phone Number</label>
                <input type="text" id="phone" class="input" name="phone" placeholder="Phone Number..." required>

                <label for="address">Address</label>
                <input type="text" id="address" class="input" name="address" placeholder="Address..." required>

                <label for="city">City</label>
                <input type="text" id="city" class="input" name="city" placeholder="City..." required>
            </div>

            <div id="button-block">
                <input type="submit" value="Save">
            </div>
        </form>
    </div>
</body>
</html> 