Files
T_Kawa af171ef107
Some checks failed
Mark stale issues and pull requests / stale (push) Has been cancelled
Initial commit: CakePHP project
2025-12-01 19:40:46 +01:00

44 lines
1.7 KiB
PHP

<?php
/**
* @var \App\View\AppView $this
* @var \App\Model\Entity\User $user
*/
?>
<div class="row">
<aside class="column">
<div class="side-nav">
<h4 class="heading"><?= __('Actions') ?></h4>
<?= $this->Html->link(__('Edit User'), ['action' => 'edit', $user->id], ['class' => 'side-nav-item']) ?>
<?= $this->Form->postLink(__('Delete User'), ['action' => 'delete', $user->id], ['confirm' => __('Are you sure you want to delete # {0}?', $user->id), 'class' => 'side-nav-item']) ?>
<?= $this->Html->link(__('List Users'), ['action' => 'index'], ['class' => 'side-nav-item']) ?>
<?= $this->Html->link(__('New User'), ['action' => 'add'], ['class' => 'side-nav-item']) ?>
</div>
</aside>
<div class="column column-80">
<div class="users view content">
<h3><?= h($user->name) ?></h3>
<table>
<tr>
<th><?= __('Name') ?></th>
<td><?= h($user->name) ?></td>
</tr>
<tr>
<th><?= __('Email') ?></th>
<td><?= h($user->email) ?></td>
</tr>
<tr>
<th><?= __('Id') ?></th>
<td><?= $this->Number->format($user->id) ?></td>
</tr>
<tr>
<th><?= __('Created') ?></th>
<td><?= h($user->created) ?></td>
</tr>
<tr>
<th><?= __('Modified') ?></th>
<td><?= h($user->modified) ?></td>
</tr>
</table>
</div>
</div>
</div>