aboutsummaryrefslogtreecommitdiffstats
path: root/etherpad/src/plugins/testplugin/templates/testplugin.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'etherpad/src/plugins/testplugin/templates/testplugin.ejs')
-rw-r--r--etherpad/src/plugins/testplugin/templates/testplugin.ejs10
1 files changed, 7 insertions, 3 deletions
diff --git a/etherpad/src/plugins/testplugin/templates/testplugin.ejs b/etherpad/src/plugins/testplugin/templates/testplugin.ejs
index f70ca8d..69c4453 100644
--- a/etherpad/src/plugins/testplugin/templates/testplugin.ejs
+++ b/etherpad/src/plugins/testplugin/templates/testplugin.ejs
@@ -24,6 +24,10 @@ limitations under the License. */ %>
helpers.addToHead('\n<style type="text/css" title="dynamicsyntax"></style>\n');
%>
-<div id="padpage">
- Welcome to the test plugin
-</div>
+<% template.inherit('page.ejs') %>
+
+<% template.define('content', function() { var ejs_data=''; %>
+ <div id="padpage">
+ Welcome to the test plugin
+ </div>
+<% return ejs_data; }); %>