view.ctp 666 Bytes
<div class="categories view large-9 medium-8 columns content">
    <h3><?= h($category->id) ?></h3>
    <table class="vertical-table">
        <tr>
            <th><?= __('Nom') ?></th>
            <td><?= h($category->nom) ?></td>
        </tr>
        <tr>
            <th><?= __('Sur Category') ?></th>
            <td><?= $category->has('sur_category') ? $this->Html->link($category->sur_category->id, ['controller' => 'SurCategories', 'action' => 'view', $category->sur_category->id]) : '' ?></td>
        </tr>
        <tr>
            <th><?= __('Id') ?></th>
            <td><?= $this->Number->format($category->id) ?></td>
        </tr>
    </table>
</div>