Cakpp3 Kontrola formularza plus tradycyjna forma PHP

 <div style="display:flex;">
                <?php foreach ($product['product_images'] as $productImg) :  ?>
                    <div class="container parent">
                        <div class="row">
                            <div class='col text-center'>

                                <input type="radio" class="d-none imgbgchk" value="<?= $productImg->id ?>" , name="product_image_id" , controller="ProductOptions" , action="add" , id="<?= $productImg->id ?>">
                                <label for="<?= $productImg->id ?>">
                                    <?php
                                    $imgPath = $this->Url->build('/', true) . 'file/image/products/' . $productImg->product_id . DS . 'small' . DS . $productImg->image;
                                    echo $this->Html->image($imgPath, ['width' => '100']);
                                    ?>
                                    <div class="tick_container">
                                        <div class="tick"><i class="fa fa-check"></i></div>
                                    </div>
                                </label>
                            </div>
                        </div>
                    </div>
                <?php endforeach; ?>

            </div>
The Great Man