<div class="wikies view">
<h2><?php  echo __('Wiky'); ?></h2>
	<dl>
		<dt><?php echo __('Id'); ?></dt>
		<dd>
			<?php echo h($wiky['Wiky']['id']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('User'); ?></dt>
		<dd>
			<?php echo $this->Html->link($wiky['User']['id'], array('controller' => 'users', 'action' => 'view', $wiky['User']['id'])); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Title'); ?></dt>
		<dd>
			<?php echo h($wiky['Wiky']['title']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Slug'); ?></dt>
		<dd>
			<?php echo h($wiky['Wiky']['slug']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Status'); ?></dt>
		<dd>
			<?php echo h($wiky['Wiky']['status']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Created'); ?></dt>
		<dd>
			<?php echo h($wiky['Wiky']['created']); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Wiky'), array('action' => 'edit', $wiky['Wiky']['id'])); ?> </li>
		<li><?php echo $this->Form->postLink(__('Delete Wiky'), array('action' => 'delete', $wiky['Wiky']['id']), null, __('Are you sure you want to delete # %s?', $wiky['Wiky']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Wikies'), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Wiky'), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Users'), array('controller' => 'users', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New User'), array('controller' => 'users', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Wikidetails'), array('controller' => 'wikidetails', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Wikidetail'), array('controller' => 'wikidetails', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php echo __('Related Wikidetails'); ?></h3>
	<?php if (!empty($wiky['Wikidetail'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Wiky Id'); ?></th>
		<th><?php echo __('Title'); ?></th>
		<th><?php echo __('Content'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($wiky['Wikidetail'] as $wikidetail): ?>
		<tr>
			<td><?php echo $wikidetail['id']; ?></td>
			<td><?php echo $wikidetail['wiky_id']; ?></td>
			<td><?php echo $wikidetail['title']; ?></td>
			<td><?php echo $wikidetail['content']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'wikidetails', 'action' => 'view', $wikidetail['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'wikidetails', 'action' => 'edit', $wikidetail['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'wikidetails', 'action' => 'delete', $wikidetail['id']), null, __('Are you sure you want to delete # %s?', $wikidetail['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Wikidetail'), array('controller' => 'wikidetails', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
