aboutsummaryrefslogtreecommitdiff
path: root/internal/admin/templates/techs.html
diff options
context:
space:
mode:
Diffstat (limited to 'internal/admin/templates/techs.html')
-rw-r--r--internal/admin/templates/techs.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/internal/admin/templates/techs.html b/internal/admin/templates/techs.html
index 084d564..813d57b 100644
--- a/internal/admin/templates/techs.html
+++ b/internal/admin/templates/techs.html
@@ -10,5 +10,9 @@
</div>
</div>
<script src="/static/editor.js"></script>
-<script>initEditor('techs', [{key:'name',label:'Name',type:'text'},{key:'category',label:'Category',type:'text'},{key:'tier',label:'Tier',type:'number'},{key:'drain',label:'Drain Rate',type:'number'},{key:'bonus',label:'Bonus',type:'number'},{key:'description',label:'Description',type:'textarea'}]);</script>
+<script src="/static/cardeditor.js"></script>
+<script src="/static/techeditor.js"></script>
+<script>
+initTechEditor();
+</script>
{{end}}