diff --git a/src/plugins/recordTypes/collectionobject/forms/index.js b/src/plugins/recordTypes/collectionobject/forms/index.js index 374500d..fb8a918 100644 --- a/src/plugins/recordTypes/collectionobject/forms/index.js +++ b/src/plugins/recordTypes/collectionobject/forms/index.js @@ -1,9 +1,11 @@ import defaultForm from './default'; import miniForm from './mini'; +import publicForm from './public'; export default (configContext) => ({ default: defaultForm(configContext), mini: miniForm(configContext), + public: publicForm(configContext), inventory: { disabled: true, }, diff --git a/src/plugins/recordTypes/collectionobject/forms/public.jsx b/src/plugins/recordTypes/collectionobject/forms/public.jsx new file mode 100644 index 0000000..36775c5 --- /dev/null +++ b/src/plugins/recordTypes/collectionobject/forms/public.jsx @@ -0,0 +1,157 @@ +const template = (configContext) => { + const { + React, + } = configContext.lib; + + const { + Col, + Panel, + Row, + } = configContext.layoutComponents; + + const { + Field, + } = configContext.recordComponents; + + const { + extensions, + } = configContext.config; + + return ( + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {extensions.dimension.form} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ); +}; + +export default (configContext) => ({ + template: template(configContext), +});