--- /dev/null
+<?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->Html->link(__('List Locations'), ['action' => 'index']) ?></li>
+ </ul>
+</nav>
+<div class="locations form large-9 medium-8 columns content">
+ <?= $this->Form->create($location) ?>
+ <fieldset>
+ <legend><?= __('Add Location') ?></legend>
+ <?php
+ echo $this->Form->control('name');
+ echo $this->Form->control('location');
+
+ echo $this->Form->control('categories._ids', [
+ 'type' => 'select',
+ 'multiple' => true,
+ 'options' => $categoriesList,
+ ]);
+
+ ?>
+ </fieldset>
+ <?= $this->Form->button(__('Submit')) ?>
+ <?= $this->Form->end() ?>
+</div>