mirror of
https://github.com/flextype/flextype.git
synced 2025-08-29 16:00:15 +02:00
@@ -333,8 +333,7 @@
|
||||
});
|
||||
|
||||
$.validate({});
|
||||
|
||||
{% if params.fieldset or params.menu or params.snippet or params.source or params.template %}
|
||||
{% if is_current_path('admin.fieldsets.edit') or is_current_path('admin.templates.edit') or is_current_path('admin.snippets.edit')%}
|
||||
var editor = CodeMirror.fromTextArea(document.getElementById("codeMirrorEditor"), {
|
||||
lineNumbers: true,
|
||||
{% if params.fieldset or params.menu %}
|
||||
|
Reference in New Issue
Block a user