{{! This file is part of Moodle - http://moodle.org/ Moodle is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Moodle is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Moodle. If not, see . }} {{! @template mod_data/template_editor Template editor in the database activity. Example context (json): { "title": "Defines browsing interface for multiple entries", "sesskey": "XXXXX", "disableeditor": true, "url": {}, "usehtmleditor": true, "toolbar": { "toolshelp": "Available tags help", "hastools": true, "tools": [ { "name": "Fields", "tags": [ { "tag": "[[Checkme]]", "tagname": "Checkme - [[Checkme]]" }, { "tag": "[[Description]]", "tagname": "Description - [[Description]]" }, { "tag": "[[Name]]", "tagname": "Name - [[Name]]" } ] } ] }, "editors": [ { "name": "Header", "fieldname": "listtemplateheader", "value": "" }, { "name": "Repeated entry", "fieldname": "listtemplate", "value": "Template content" }, { "name": "Footer", "fieldname": "listtemplatefooter", "value": "" } ] } }}
{{title}}
{{#toolbar}} {{> mod_data/template_editor_tools }} {{/toolbar}}
{{#editors}}
{{/editors}}
{{#disableeditor}}
{{/disableeditor}} {{< core/sticky_footer }} {{$ stickycontent }}
{{/ stickycontent }} {{/ core/sticky_footer }}