aboutsummaryrefslogtreecommitdiff
path: root/internal/admin/templates/modules.html
diff options
context:
space:
mode:
Diffstat (limited to 'internal/admin/templates/modules.html')
-rw-r--r--internal/admin/templates/modules.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/internal/admin/templates/modules.html b/internal/admin/templates/modules.html
index 0f8ca7c..e46af1b 100644
--- a/internal/admin/templates/modules.html
+++ b/internal/admin/templates/modules.html
@@ -10,5 +10,9 @@
</div>
</div>
<script src="/static/editor.js"></script>
-<script>initEditor('modules', [{key:'name',label:'Name',type:'text'},{key:'type',label:'Type',type:'text'},{key:'effect',label:'Effect',type:'text'},{key:'description',label:'Description',type:'textarea'}]);</script>
+<script src="/static/cardeditor.js"></script>
+<script src="/static/moduleeditor.js"></script>
+<script>
+initModuleEditor();
+</script>
{{end}}