-
Notifications
You must be signed in to change notification settings - Fork 0
/
create.php
31 lines (31 loc) · 1.21 KB
/
create.php
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h2>Dodadawnie nowego pracownika</h2>
<!-- Formularz dla pracowników -->
<form action="upload.php" method="post" enctype="multipart/form-data">
<label for="imie">Podaj imie</label>
<input type="text" name="imie" id="imie" minlength="3" maxlength="30" placeholder="Jan" required>
<br>
<label for="nazwisko">Podaj nazwisko</label>
<input type="text" name="nazwisko" id="nazwisko" minlength="2" maxlength="80" placeholder="Kowalski" required>
<br>
<label for="email">Podaj email:</label>
<input type="email" name="email" id="email" placeholder="example@mail.com">
<br>
<label for="pesel">Podaj PESEL:</label>
<input type="text" name="pesel" id="pesel" minlength="11" maxlength="11" required>
<br>
<label for="avatar">Wstaw zdjęcie profilowe:</label>
<input type="file" name="avatar" id="avatar" accept="image/*">
<br><br>
<input type="reset" value="Wyczyść" style="margin-right: 10px;">
<input type="submit" value="Dodaj">
</form>
</body>
</html>