products form htmx attributes wip - bedtime though

This commit is contained in:
2025-04-01 02:52:00 -07:00
parent 9f94f7d0ed
commit 42f2b4f64b
2 changed files with 2 additions and 2 deletions

View File

@@ -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',