testing
This commit is contained in:
@@ -17,11 +17,7 @@
|
||||
<?= $this->Form->create($product) ?>
|
||||
<fieldset>
|
||||
<legend><?= __('Add Product') ?></legend>
|
||||
<?php
|
||||
echo $this->Form->control('name');
|
||||
echo $this->Form->control('product_category_id', ['options' => $productCategories]);
|
||||
echo $this->Form->control('product_type_id');
|
||||
?>
|
||||
<?= $this->element('Products/form'); ?>
|
||||
</fieldset>
|
||||
<?= $this->Form->button(__('Submit')) ?>
|
||||
<?= $this->Form->end() ?>
|
||||
|
||||
@@ -22,11 +22,7 @@
|
||||
<?= $this->Form->create($product) ?>
|
||||
<fieldset>
|
||||
<legend><?= __('Edit Product') ?></legend>
|
||||
<?php
|
||||
echo $this->Form->control('name');
|
||||
echo $this->Form->control('product_category_id', ['options' => $productCategories]);
|
||||
echo $this->Form->control('product_type_id');
|
||||
?>
|
||||
<?= $this->element('Products/form'); ?>
|
||||
</fieldset>
|
||||
<?= $this->Form->button(__('Submit')) ?>
|
||||
<?= $this->Form->end() ?>
|
||||
|
||||
Reference in New Issue
Block a user