Spaces:
Running
Running
<html> | |
<head> | |
<title>User Registration</title> | |
</head> | |
<body> | |
<h2>User Registration</h2> | |
<form action="/admin/register_user" method="post" enctype="multipart/form-data"> | |
<label for="email">User ID (Email):</label> | |
<input type="email" id="email" name="email" required><br> | |
<label for="name">Name:</label> | |
<input type="text" id="name" name="name" required><br> | |
<label for="role">Role:</label> | |
<select id="role" name="role"> | |
<option value="Student">Student</option> | |
<option value="Teacher">Teacher</option> | |
</select><br> | |
<label for="file">Profile Picture (.jpg):</label> | |
<input type="file" id="file" name="file" accept=".jpg" required><br> | |
<button type="submit">Register</button> | |
</form> | |
</body> | |
</html> | |