lockserver/frontend/lock-code-edit.html

11 lines
488 B
HTML
Raw Normal View History

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