Initial commit
This commit is contained in:
38
src/Template/Budget/edit.ctp
Normal file
38
src/Template/Budget/edit.ctp
Normal file
@@ -0,0 +1,38 @@
|
||||
<?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');
|
||||
?>
|
||||
</fieldset>
|
||||
<?= $this->Form->button(__('Submit')) ?>
|
||||
<?= $this->Form->end() ?>
|
||||
</div>
|
||||
Reference in New Issue
Block a user