diff --git a/templates/MetaTemplates/update_all.php b/templates/MetaTemplates/update_all.php index 643af88..1e592cc 100644 --- a/templates/MetaTemplates/update_all.php +++ b/templates/MetaTemplates/update_all.php @@ -64,7 +64,6 @@ foreach ($templatesUpdateStatus as $uuid => $status) { } else { // Depends on the strategy used by the update_all function. Right now, every update create a brand new template // leaving existing data untouched. So regardless of the conflict, the new template will be created - // if (!empty($status['new']) || !empty($status['automatically-updateable'])) { if (!empty($status['new']) || empty($status['up-to-date'])) { $numberOfUpdates += 1; $tableHtml .= sprintf('%s', $this->Bootstrap->icon('check', ['class' => 'text-success'])); diff --git a/templates/element/genericElements/Form/genericForm.php b/templates/element/genericElements/Form/genericForm.php index 446cc48..1a2bc58 100644 --- a/templates/element/genericElements/Form/genericForm.php +++ b/templates/element/genericElements/Form/genericForm.php @@ -12,7 +12,6 @@ - use these to define dynamic form fields, or anything that will feed into the regular fields via JS population * - submit: The submit button itself. By default it will simply submit to the form as defined via the 'model' field */ - // debug(\Cake\Utility\Hash::extract($entity, 'MetaTemplates.{n}.meta_template_fields.{n}.metaFields.{n}.value')); $this->Form->setConfig('errorClass', 'is-invalid'); $modelForForm = empty($data['model']) ? h(\Cake\Utility\Inflector::singularize(\Cake\Utility\Inflector::classify($this->request->getParam('controller')))) :