futranbg commited on
Commit
96e48d2
·
verified ·
1 Parent(s): 27d437d

Create templates/add_user.html

Browse files
Files changed (1) hide show
  1. templates/add_user.html +24 -0
templates/add_user.html ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {% extends 'base.html' %}
2
+ {% block content %}
3
+ <h2>Thêm Người dùng Mới</h2>
4
+ <form method="POST">
5
+ <input type="hidden" name="page_password" value="{{ request.form.page_password if request.form.page_password else '' }}">
6
+ <label for="name">Tên:</label>
7
+ <input type="text" id="name" name="name" required>
8
+
9
+ <label for="email">Email:</label>
10
+ <input type="email" id="email" name="email" required>
11
+
12
+ <label for="password">Mật khẩu:</label>
13
+ <input type="password" id="password" name="password" required>
14
+
15
+ <label for="page_password_form">Mật khẩu trang:</label>
16
+ <input type="password" id="page_password_form" name="page_password" required>
17
+
18
+ <button type="submit">Thêm người dùng</button>
19
+ </form>
20
+
21
+ {% if added_user_id %}
22
+ <p>Người dùng đã được thêm với ID: {{ added_user_id }}</p>
23
+ {% endif %}
24
+ {% endblock %}