From 6f9127221763d517f0d87ed216f8bb2429945d85 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 16 Jun 2021 11:17:00 +0200 Subject: [PATCH] Add default form templates --- www/form/templates.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 www/form/templates.js diff --git a/www/form/templates.js b/www/form/templates.js new file mode 100644 index 000000000..6ff3249b8 --- /dev/null +++ b/www/form/templates.js @@ -0,0 +1,20 @@ +define([ + '/customize/messages.js' +], function (Messages) { + return [{ + id: 'a', + used: 1, + name: Messages.form_type_poll, + content: { + form: { + "1": { + type: 'md' + }, + "2": { + type: 'poll' + } + }, + order: ["1", "2"] + } + }]; +});