This commit is contained in:
Christopher Cookman 2025-09-01 00:18:56 -06:00
parent 9750fe787e
commit 80a3071d29

View file

@ -2,7 +2,7 @@
// Assume aclEntry is passed to this view with all fields
// doorsList is an object of door names to grant access, e.g. { "Door1": 1, "Door2": 0, ... }
%>
<form id="acl-edit-form" method="post" action="/acl/<%= aclEntry.CardNumber %>?_method=PATCH">
<form id="acl-edit-form" method="patch" action="/acl/<%= aclEntry.CardNumber %>">
<div>
<label for="Name">Name:</label>
<input type="text" id="Name" name="Name" value="<%= aclEntry.Name %>" required>