Files
Narzedzia_180088/templates/Tools/add.php
180088 895cbddf06 Add new font files, images, and initial index.php for CakePHP setup
- Added new font files: Cakedingbats (TTF, WOFF, WOFF2) and Raleway (various styles and encodings).
- Included new images: cake-logo.png, cake.icon.png, cake.logo.svg, and cake.power.gif.
- Created initial index.php file for handling requests in CakePHP framework.
- Added .gitkeep file in the js directory to maintain the folder structure.
2025-11-25 14:28:51 +01:00

41 lines
904 B
PHP

<?php
/**
* @var \App\View\AppView $this
* @var \App\Model\Entity\Tool $tool
*/
?>
<div class="row">
<aside class="column">
<div class="side-nav">
<h4 class="heading"><?= __('Operacje') ?></h4>
<?= $this->Html->link(__('Powrót'),
['action' => 'index'],
['class' => 'side-nav-item']) ?>
</div>
</aside>
<div class="column column-80">
<div class="tools form content">
<?= $this->Form->create($tool) ?>
<fieldset>
<legend><?= __('Dodawanie narzędzia') ?></legend>
<?php
echo $this->Form->control('name',
['label'=>'Nazwa',
'placeholder'=>'Wpisz nazwę']);
echo $this->Form->control('description',
['label'=>'Opis',
'placeholder'=>'Dowolny opis']);
echo $this->Form->control('quantity',
['label'=>'Ilość',
'default'=>1]);
echo $this->Form->control('active',
['label'=>'Aktywny',
'default'=>true]);
?>
</fieldset>
<?= $this->Form->button(__('Zapisz')) ?>
<?= $this->Form->end() ?>
</div>
</div>
</div>