bring into standalone plugin for distribution
This commit is contained in:
20
templates/ProductCategoryAttributeOptions/add.php
Normal file
20
templates/ProductCategoryAttributeOptions/add.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
use App\View\AppView;
|
||||
use Cake\Datasource\EntityInterface;
|
||||
|
||||
/**
|
||||
* @var AppView $this
|
||||
* @var EntityInterface $productCategoryAttributeOption
|
||||
*/
|
||||
|
||||
$this->setLayout('ajax');
|
||||
$prefix = $prefix ?? '';
|
||||
if ($this->request->getQuery('prefix') !== null) {
|
||||
$prefix = 'product_category_attribute_options.' . $this->request->getQuery('prefix') . '.';
|
||||
}
|
||||
echo '<hr class="my-2">';
|
||||
echo $this->element('ProductCategoryAttributes/product_category_attribute_option_form', [
|
||||
'prefix' => $prefix
|
||||
]);
|
||||
?>
|
||||
Reference in New Issue
Block a user