+++ /dev/null
-<nav class="large-3 medium-4 columns" id="actions-sidebar">
- <ul class="side-nav">
- <li class="heading"><?= __('Actions') ?></li>
- <li><?= $this->Html->link(__('Edit Bookmark'), ['action' => 'edit', $bookmark->id]) ?> </li>
- <li><?= $this->Form->postLink(__('Delete Bookmark'), ['action' => 'delete', $bookmark->id], ['confirm' => __('Are you sure you want to delete # {0}?', $bookmark->id)]) ?> </li>
- <li><?= $this->Html->link(__('List Bookmarks'), ['action' => 'index']) ?> </li>
- <li><?= $this->Html->link(__('New Bookmark'), ['action' => 'add']) ?> </li>
- <li><?= $this->Html->link(__('List Users'), ['controller' => 'Users', 'action' => 'index']) ?> </li>
- <li><?= $this->Html->link(__('New User'), ['controller' => 'Users', 'action' => 'add']) ?> </li>
- <li><?= $this->Html->link(__('List Tags'), ['controller' => 'Tags', 'action' => 'index']) ?> </li>
- <li><?= $this->Html->link(__('New Tag'), ['controller' => 'Tags', 'action' => 'add']) ?> </li>
- </ul>
-</nav>
-<div class="bookmarks view large-9 medium-8 columns content">
- <h3><?= h($bookmark->title) ?></h3>
- <table class="vertical-table">
- <tr>
- <th><?= __('User') ?></th>
- <td><?= $bookmark->has('user') ? $this->Html->link($bookmark->user->id, ['controller' => 'Users', 'action' => 'view', $bookmark->user->id]) : '' ?></td>
- </tr>
- <tr>
- <th><?= __('Title') ?></th>
- <td><?= h($bookmark->title) ?></td>
- </tr>
- <tr>
- <th><?= __('Id') ?></th>
- <td><?= $this->Number->format($bookmark->id) ?></td>
- </tr>
- <tr>
- <th><?= __('Created') ?></th>
- <td><?= h($bookmark->created) ?></td>
- </tr>
- <tr>
- <th><?= __('Modified') ?></th>
- <td><?= h($bookmark->modified) ?></td>
- </tr>
- </table>
- <div class="row">
- <h4><?= __('Description') ?></h4>
- <?= $this->Text->autoParagraph(h($bookmark->description)); ?>
- </div>
- <div class="row">
- <h4><?= __('Url') ?></h4>
- <?= $this->Text->autoParagraph(h($bookmark->url)); ?>
- </div>
- <div class="related">
- <h4><?= __('Related Tags') ?></h4>
- <?php if (!empty($bookmark->tags)): ?>
- <table cellpadding="0" cellspacing="0">
- <tr>
- <th><?= __('Id') ?></th>
- <th><?= __('Title') ?></th>
- <th><?= __('Created') ?></th>
- <th><?= __('Modified') ?></th>
- <th class="actions"><?= __('Actions') ?></th>
- </tr>
- <?php foreach ($bookmark->tags as $tags): ?>
- <tr>
- <td><?= h($tags->id) ?></td>
- <td><?= h($tags->title) ?></td>
- <td><?= h($tags->created) ?></td>
- <td><?= h($tags->modified) ?></td>
- <td class="actions">
- <?= $this->Html->link(__('View'), ['controller' => 'Tags', 'action' => 'view', $tags->id]) ?>
-
- <?= $this->Html->link(__('Edit'), ['controller' => 'Tags', 'action' => 'edit', $tags->id]) ?>
-
- <?= $this->Form->postLink(__('Delete'), ['controller' => 'Tags', 'action' => 'delete', $tags->id], ['confirm' => __('Are you sure you want to delete # {0}?', $tags->id)]) ?>
-
- </td>
- </tr>
- <?php endforeach; ?>
- </table>
- <?php endif; ?>
- </div>
-
-</div>