27 lines
		
	
	
		
			926 B
		
	
	
	
		
			PHP
		
	
	
	
		
		
			
		
	
	
			27 lines
		
	
	
		
			926 B
		
	
	
	
		
			PHP
		
	
	
	
|  | <?php | ||
|  | /** | ||
|  |  * @var \App\View\AppView $this | ||
|  |  * @var \Cake\Datasource\EntityInterface $productPhoto | ||
|  |  * @var \Cake\Collection\CollectionInterface|string[] $products | ||
|  |  */ | ||
|  | ?>
 | ||
|  | <div class="row"> | ||
|  |     <aside class="column"> | ||
|  |         <div class="side-nav"> | ||
|  |             <h4 class="heading"><?= __('Actions') ?></h4>
 | ||
|  |             <?= $this->Html->link(__('List Product Photos'), ['action' => 'index'], ['class' => 'side-nav-item']) ?>
 | ||
|  |         </div> | ||
|  |     </aside> | ||
|  |     <div class="column column-80"> | ||
|  |         <div class="productPhotos form content"> | ||
|  |             <?= $this->Form->create($productPhoto, ['type' => 'file']) ?>
 | ||
|  |             <fieldset> | ||
|  |                 <legend><?= __('Add Product Photo') ?></legend>
 | ||
|  |                 <?= $this->element('ProductPhotos/form', ['includeFile' => true]); ?>
 | ||
|  |             </fieldset> | ||
|  |             <?= $this->Form->button(__('Submit')) ?>
 | ||
|  |             <?= $this->Form->end() ?>
 | ||
|  |         </div> | ||
|  |     </div> | ||
|  | </div> |