lockserver/frontend/lock-code-edit.html
Finn cafbd63f98
Some checks failed
/ build-container (push) Has been cancelled
Add support for editing individual lock code slots
2024-11-22 22:45:49 -08:00

10 lines
488 B
HTML

{{ template "header.html" . }}
<header>{{ if eq .Data.Name "" }}Lock #{{ .Data.ID }}{{ else }}{{ .Data.Name }}{{ end }}</header>
<form method="post">
Code: <input type="text" name="code" value="{{ .Data.Code }}" /><br />
Name: <input type="text" name="name" value="{{ .Data.Name }}" /><br />
Enabled: <input type="checkbox" name="enabled" {{ if .Data.Enabled }}checked{{ end }} /><br />
<br />
<input type="submit" value="save" />
</form>
{{ template "footer.html" }}