-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwarden_registration.php
More file actions
60 lines (47 loc) · 2.44 KB
/
Copy pathwarden_registration.php
File metadata and controls
60 lines (47 loc) · 2.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php include 'include/connect.php'; ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Warden Registration</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-100 h-screen flex items-center justify-center">
<?php include 'include/header.php' ?>
<div class="container mx-auto p-8 max-w-md bg-white rounded-md shadow-md">
<h1 class="text-3xl font-bold mb-6 text-center text-blue-500">Warden Registration Form</h1>
<form action="include/warden_registration_submit.php" method="post" class="space-y-4">
<div>
<label for="warden_id" class="block text-sm font-semibold text-gray-600">Warden ID</label>
<input type="text" id="warden_id" name="warden_id" class="w-full mt-1 p-2 border rounded-md" required>
</div>
<div>
<label for="name" class="block text-sm font-semibold text-gray-600">Name</label>
<input type="text" id="name" name="name" class="w-full mt-1 p-2 border rounded-md" required>
</div>
<div>
<label for="contact_number" class="block text-sm font-semibold text-gray-600">Contact Number</label>
<input type="tel" id="contact_number" name="contact_number" class="w-full mt-1 p-2 border rounded-md"
required>
</div>
<div>
<label for="email" class="block text-sm font-semibold text-gray-600">Email</label>
<input type="email" id="email" name="email" class="w-full mt-1 p-2 border rounded-md" required>
</div>
<div>
<label for="password" class="block text-sm font-semibold text-gray-600">Password</label>
<input type="password" id="password" name="password" class="w-full mt-1 p-2 border rounded-md" required>
</div>
<div>
<label for="hostel_id" class="block text-sm font-semibold text-gray-600">Hostel ID</label>
<input type="text" id="hostel_id" name="hostel_id" class="w-full mt-1 p-2 border rounded-md" required>
</div>
<div>
<button type="submit"
class="w-full bg-blue-500 text-white px-4 py-2 rounded-md hover:bg-blue-600">Register</button>
</div>
</form>
</div>
</body>
</html>