2024-11-23 05:15:21 +00:00
|
|
|
{{ template "header.html" . }}
|
2024-11-23 06:25:39 +00:00
|
|
|
<header>{{ if eq .Data.Name "" }}Lock #{{ .Data.ID }}{{ else }}{{ .Data.Name }}{{ end }}</header>
|
2024-11-23 05:15:21 +00:00
|
|
|
<form method="post">
|
2024-11-23 06:25:39 +00:00
|
|
|
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 />
|
2024-11-23 06:25:39 +00:00
|
|
|
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" }}
|