3 * @var \App\View\AppView $this
8 <nav class="large-3 medium-4 columns" id="actions-sidebar">
10 <li class="heading"><?= __('Actions') ?></li>
11 <li><?= $this->Html->link(__('New Category'), ['action' => 'add']) ?></li>
14 <div class="categories index large-9 medium-8 columns content">
15 <h3><?= __('Categories') ?></h3>
16 <table cellpadding="0" cellspacing="0">
19 <th scope="col"><?= $this->Paginator->sort('id') ?></th>
20 <th scope="col"><?= $this->Paginator->sort('name') ?></th>
21 <th scope="col"><?= $this->Paginator->sort('image') ?></th>
22 <th scope="col"><?= $this->Paginator->sort('created') ?></th>
23 <th scope="col"><?= $this->Paginator->sort('modified') ?></th>
24 <th scope="col" class="actions"><?= __('Actions') ?></th>
28 <?php foreach ($categories as $category): ?>
30 <td><?= $this->Number->format($category->id) ?></td>
31 <td><?= h($category->name) ?></td>
32 <td><?= h($category->image) ?></td>
33 <td><?= h($category->created) ?></td>
34 <td><?= h($category->modified) ?></td>
36 <?= $this->Html->link(__('Map'), ['action' => 'map', $category->id]) ?>
37 <?= $this->Html->link(__('Center'), ['action' => 'center', $category->id]) ?>
38 <?= $this->Html->link(__('View'), ['action' => 'view', $category->id]) ?>
39 <?= $this->Html->link(__('Edit'), ['action' => 'edit', $category->id]) ?>
40 <?= $this->Form->postLink(__('Delete'), ['action' => 'delete', $category->id], ['confirm' => __('Are you sure you want to delete # {0}?', $category->id)]) ?>
46 <div class="paginator">
47 <ul class="pagination">
48 <?= $this->Paginator->first('<< ' . __('first')) ?>
49 <?= $this->Paginator->prev('< ' . __('previous')) ?>
50 <?= $this->Paginator->numbers() ?>
51 <?= $this->Paginator->next(__('next') . ' >') ?>
52 <?= $this->Paginator->last(__('last') . ' >>') ?>
54 <p><?= $this->Paginator->counter(['format' => __('Page {{page}} of {{pages}}, showing {{current}} record(s) out of {{count}} total')]) ?></p>