<?php
/**
  * @var \App\View\AppView $this
  */
?>
<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', $examination->id],
                ['confirm' => __('Are you sure you want to delete # {0}?', $examination->id)]
            )
        ?></li>
        <li><?= $this->Html->link(__('List Examinations'), ['action' => 'index']) ?></li>
        <li><?= $this->Html->link(__('List Schooltypes'), ['controller' => 'Schooltypes', 'action' => 'index']) ?></li>
        <li><?= $this->Html->link(__('New Schooltype'), ['controller' => 'Schooltypes', 'action' => 'add']) ?></li>
        <li><?= $this->Html->link(__('List Imports'), ['controller' => 'Imports', 'action' => 'index']) ?></li>
        <li><?= $this->Html->link(__('New Import'), ['controller' => 'Imports', 'action' => 'add']) ?></li>
    </ul>
</nav>
<div class="examinations form large-9 medium-8 columns content">
    <?= $this->Form->create($examination) ?>
    <fieldset>
        <legend><?= __('Edit Examination') ?></legend>
        <?php
            echo $this->Form->input('schooltype_id', ['options' => $schooltypes]);
            echo $this->Form->input('title');
        ?>
    </fieldset>
    <?= $this->Form->button(__('Submit')) ?>
    <?= $this->Form->end() ?>
</div>
