40 lines
1.7 KiB
PHP
40 lines
1.7 KiB
PHP
<?php
|
|
/**
|
|
* @var \App\View\AppView $this
|
|
* @var \App\Model\Entity\Budget $budget
|
|
*/
|
|
?>
|
|
<nav class="large-3 medium-4 columns" id="actions-sidebar">
|
|
<ul class="side-nav">
|
|
<li class="heading"><?= __('Actions') ?></li>
|
|
<li><?= $this->Form->postLink(
|
|
__('Delete'),
|
|
['action' => 'delete', $budget->id],
|
|
['confirm' => __('Are you sure you want to delete # {0}?', $budget->id)]
|
|
)
|
|
?></li>
|
|
<li><?= $this->Html->link(__('List Budget'), ['action' => 'index']) ?></li>
|
|
<li><?= $this->Html->link(__('List Wl Schooltypes'), ['controller' => 'WlSchooltypes', 'action' => 'index']) ?></li>
|
|
<li><?= $this->Html->link(__('New Wl Schooltype'), ['controller' => 'WlSchooltypes', 'action' => 'add']) ?></li>
|
|
<li><?= $this->Html->link(__('List Wl Budgets'), ['controller' => 'WlBudgets', 'action' => 'index']) ?></li>
|
|
<li><?= $this->Html->link(__('New Wl Budget'), ['controller' => 'WlBudgets', 'action' => 'add']) ?></li>
|
|
</ul>
|
|
</nav>
|
|
<div class="budget form large-9 medium-8 columns content">
|
|
<?= $this->Form->create($budget) ?>
|
|
<fieldset>
|
|
<legend><?= __('Edit Budget') ?></legend>
|
|
<?php
|
|
echo $this->Form->control('wl_schooltype_id', ['options' => $wlSchooltypes]);
|
|
echo $this->Form->control('snr');
|
|
echo $this->Form->control('wl_budget_id', ['options' => $wlBudgets]);
|
|
echo $this->Form->control('count');
|
|
echo $this->Form->control('comment');
|
|
echo $this->Form->control('year');
|
|
echo $this->Form->control('asd');
|
|
?>
|
|
</fieldset>
|
|
<?= $this->Form->button(__('Submit')) ?>
|
|
<?= $this->Form->end() ?>
|
|
</div>
|