diff --git a/frontend/lock-code-edit.html b/frontend/lock-code-edit.html
index 6cecbe6..4faa47c 100644
--- a/frontend/lock-code-edit.html
+++ b/frontend/lock-code-edit.html
@@ -1,9 +1,10 @@
{{ template "header.html" . }}
-{{ if eq .Data.Name "" }}Lock #{{ .Data.ID }}{{ else }}{{ .Data.Name }}{{ end }}
+{{ if eq .Data.lock.Name "" }}Lock #{{ .Data.lock.ID }}{{ else }}{{ .Data.lock.Name }}{{ end }} Slot #{{ .Data.code.Slot }}
+
diff --git a/frontend/lock-edit.html b/frontend/lock-edit.html
index 65e1707..d379cc4 100644
--- a/frontend/lock-edit.html
+++ b/frontend/lock-edit.html
@@ -1,5 +1,6 @@
{{ template "header.html" . }}
Rename {{ if eq .Data.Name "" }}Lock #{{ .Data.ID }}{{ else }}{{ .Data.Name }}{{ end }}
+