10 lines
488 B
HTML
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" }}
|