EduConnect / app /admin /templates /user_registration.html
dtyago's picture
User registration in chromadb
79d7ca9
raw
history blame
No virus
1.16 kB
<!DOCTYPE html>
<html>
<head>
<title>Econnect User Registration</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="static/css/mvp.css" rel="stylesheet" media="screen">
</head>
<body>
<div class=""container">
<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" class="btn btn-default" >Register</button>
</form>
{% if error %}
<p class="error"><strong>Error:</strong> {{ error }}
{% endif %}
</div>
</body>
</html>