in the delete function for doors and groups
This commit is contained in:
2024-06-05 07:14:19 +00:00
parent e9246bb376
commit 8d4600b490
4 changed files with 18 additions and 6 deletions
+4 -3
View File
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Access Logs</title>
<title>Doors and Groups Associations</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head>
<body>
@@ -14,7 +14,8 @@
<a href="/LogsDB">Logs</a>
</div>
<div class="container"><h1>Doors and Groups Associations</h1>
<div class="container">
<h1>Doors and Groups Associations</h1>
<h2>Doors</h2>
<table>
<thead>
@@ -45,7 +46,7 @@
<tr>
<td>{{group}}</td>
<td>
<form action="{{ url_for('delete_group', group_cn=group['cn']) }}" method="post">
<form action="{{ url_for('delete_group', group_cn=group) }}" method="post">
<button type="submit" class="delete-btn">Delete</button>
</form>
</td>