lockserver/frontend/lock-edit.html

7 lines
310 B
HTML

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