aboutsummaryrefslogtreecommitdiff
path: root/internal/admin/static/techeditor.js
diff options
context:
space:
mode:
Diffstat (limited to 'internal/admin/static/techeditor.js')
-rw-r--r--internal/admin/static/techeditor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/admin/static/techeditor.js b/internal/admin/static/techeditor.js
index 70f881e..ffb2b7b 100644
--- a/internal/admin/static/techeditor.js
+++ b/internal/admin/static/techeditor.js
@@ -70,7 +70,7 @@ function loadTechEditor(id) {
function loadItem(id) { loadTechEditor(id); }
function renderTechEditor(id, data) {
- var html = '<h2>Tech: ' + esc(id) + '</h2>';
+ var html = renderRenameableHeader('Tech', id);
html += '<div class="tabs"><button class="tab active" onclick="switchTab(event,\'fields\')">Fields</button>';
html += '<button class="tab" onclick="switchTab(event,\'yaml\')">Raw YAML</button></div>';