products form htmx attributes wip - bedtime though
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
<h4 class="mb-4">Basic Info</h4>
|
||||
|
||||
<?php
|
||||
echo $this->Form->hidden('form', ['value' => 'product']);
|
||||
echo $this->Form->control('name');
|
||||
echo $this->Form->control('product_catalog_id', [
|
||||
'empty' => 'Select a Catalog',
|
||||
@@ -31,6 +30,7 @@ echo $this->Form->control('product_category_id', [
|
||||
'hx-get' => $this->Url->build([
|
||||
'controller' => 'ProductCategoryAttributes',
|
||||
'action' => 'form',
|
||||
'?' => ['form' => 'product'],
|
||||
0 => $productCategory ? $productCategory->product_catalog_id : '',
|
||||
]),
|
||||
'hx-target' => '#product-attributes-container',
|
||||
|
||||
Reference in New Issue
Block a user