Add default form templates

pull/1/head
yflory 2021-06-16 11:17:00 +02:00
parent 8074a6191c
commit 6f91272217
1 changed files with 20 additions and 0 deletions

20
www/form/templates.js Normal file
View File

@ -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"]
}
}];
});