Fix bugs
in the delete function for doors and groups
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user