--- /dev/null
+<?php
+/**
+ * @var \App\View\AppView $this
+ */
+use Cake\Log\Log;
+Log::debug('[got into view template]');
+?>
+<nav class="large-3 medium-4 columns" id="actions-sidebar">
+ <ul class="side-nav">
+ <li class="heading"><?= __('Actions') ?></li>
+ <li><?= $this->Html->link(__('Map Category'), ['action' => 'map', $category->id]) ?> </li>
+ <li><?= $this->Html->link(__('Edit Category'), ['action' => 'edit', $category->id]) ?> </li>
+ <li><?= $this->Form->postLink(__('Delete Category'), ['action' => 'delete', $category->id], ['confirm' => __('Are you sure you want to delete # {0}?', $category->id)]) ?> </li>
+ <li><?= $this->Html->link(__('List Categories'), ['action' => 'index']) ?> </li>
+ <li><?= $this->Html->link(__('New Category'), ['action' => 'add']) ?> </li>
+ </ul>
+</nav>
+<div class="categories view large-9 medium-8 columns content">
+ <h3><?= h($category->name) ?></h3>
+ <table class="vertical-table">
+ <tr>
+ <th scope="row"><?= __('Name') ?></th>
+ <td><?= h($category->name) ?></td>
+ </tr>
+ <tr>
+ <th scope="row"><?= __('Id') ?></th>
+ <td><?= $this->Number->format($category->id) ?></td>
+ </tr>
+ <tr>
+ <th scope="row"><?= __('Image') ?></th>
+ <td><?= h($category->image) ?></td>
+ </tr>
+ <tr>
+ <th scope="row"><?= __('Created') ?></th>
+ <td><?= h($category->created) ?></td>
+ </tr>
+ <tr>
+ <th scope="row"><?= __('Modified') ?></th>
+ <td><?= h($category->modified) ?></td>
+ </tr>
+ <tr>
+ <th scope="row"><?= __('Locations') ?></th>
+ <td>
+ <?php
+ echo $this->Form->control('locations._ids', [
+ 'type' => 'select',
+ 'multiple' => true,
+ 'disabled' => true,
+ 'options' => $locationBits,
+ ]);
+ ?>
+ </td>
+ </tr>
+
+ </table>
+</div>