1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-29 16:00:15 +02:00

Slim Framework integration #118 #117

- base.html updates
This commit is contained in:
Awilum
2019-05-31 00:37:29 +03:00
parent 05ace41765
commit e53b4e8c78

View File

@@ -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 %}