apostrophe-forms
Advanced tools
Comparing version 0.5.3 to 0.5.4
23
index.js
@@ -69,2 +69,25 @@ /* jshint node:true */ | ||
// If somebody REALLY doesn't want to group their fields, | ||
// take the hint, otherwise supply a default behavior | ||
if (options.groupFields !== false) { | ||
options.groupFields = options.groupFields || | ||
// We don't list the title field so it stays on top | ||
[ | ||
{ | ||
name: 'basicsTab', | ||
label: 'Basics', | ||
fields: [ | ||
'title', 'slug', 'published', 'tags' | ||
] | ||
}, | ||
{ | ||
name: 'contentTab', | ||
label: 'Content', | ||
fields: [ | ||
'body', 'submitLabel', 'thankYouLabel', 'thankYouBody', 'email' | ||
] | ||
} | ||
]; | ||
} | ||
options.modules = (options.modules || []).concat([ { dir: __dirname, name: 'forms' } ]); | ||
@@ -71,0 +94,0 @@ |
{ | ||
"name": "apostrophe-forms", | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"description": "Allow your users to build forms on the fly on their Apostrophe sites", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
31147
707