diff --git a/app/views/console/database/rules/array.phtml b/app/views/console/database/rules/array.phtml index 67cefa716..2792530b6 100644 --- a/app/views/console/database/rules/array.phtml +++ b/app/views/console/database/rules/array.phtml @@ -5,6 +5,7 @@ $required = $this->getParam('required', ''); $comp = $this->getParam('comp', ''); $namespace = $this->getParam('namespace', ''); $list = $this->getParam('list', []); +$collections = $this->getParam('collections', []); $comp->setParam('namespace', 'node'); @@ -15,8 +16,10 @@ if($type === 'document') { required data-cast-to="array-empty"> - + + +
+ +
+ diff --git a/app/views/console/database/rules/fileId.phtml b/app/views/console/database/rules/fileId.phtml new file mode 100644 index 000000000..aa9b9e500 --- /dev/null +++ b/app/views/console/database/rules/fileId.phtml @@ -0,0 +1,19 @@ +getParam('key', ''); +$required = $this->getParam('required', ''); +$namespace = $this->getParam('namespace', ''); +?> + required + class="margin-bottom-no"> \ No newline at end of file