Create templates/create_table.html
Browse files- templates/create_table.html +14 -0
templates/create_table.html
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{% extends 'base.html' %}
|
2 |
+
{% block content %}
|
3 |
+
<h2>Tạo Bảng Người dùng</h2>
|
4 |
+
<p>Bảng 'users' sẽ được tạo (nếu chưa tồn tại) với các cột: id, name, email, và password (đã băm).</p>
|
5 |
+
<form method="POST">
|
6 |
+
<label for="page_password">Mật khẩu trang:</label>
|
7 |
+
<input type="password" id="page_password" name="page_password" required>
|
8 |
+
<button type="submit">Tạo Bảng</button>
|
9 |
+
</form>
|
10 |
+
|
11 |
+
{% if message %}
|
12 |
+
<p>{{ message }}</p>
|
13 |
+
{% endif %}
|
14 |
+
{% endblock %}
|