<div class="productOptionsCategories index">
<h2><?php __('ProductOptionsCategories');?></h2>
<p>
<?php
echo $paginator->counter(array(
'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
));
?></p>
<table cellpadding="0" cellspacing="0">
<tr>
	<th><?php echo $paginator->sort('id');?></th>
	<th><?php echo $paginator->sort('product_id');?></th>
	<th><?php echo $paginator->sort('name');?></th>
	<th><?php echo $paginator->sort('location');?></th>
	<th><?php echo $paginator->sort('exclusive');?></th>
	<th class="actions"><?php __('Actions');?></th>
</tr>
<?php
$i = 0;
foreach ($productOptionsCategories as $productOptionsCategory):
	$class = null;
	if ($i++ % 2 == 0) {
		$class = ' class="altrow"';
	}
?>
	<tr<?php echo $class;?>>
		<td>
			<?php echo $productOptionsCategory['ProductOptionsCategory']['id']; ?>
		</td>
		<td>
			<?php echo $html->link($productOptionsCategory['Product']['title'], array('controller' => 'products', 'action' => 'view', $productOptionsCategory['Product']['id'])); ?>
		</td>
		<td>
			<?php echo $productOptionsCategory['ProductOptionsCategory']['name']; ?>
		</td>
		<td>
			<?php echo $productOptionsCategory['ProductOptionsCategory']['location']; ?>
		</td>
		<td>
			<?php echo $productOptionsCategory['ProductOptionsCategory']['exclusive']; ?>
		</td>
		<td class="actions">
			<?php echo $html->link(__('View', true), array('action' => 'view', $productOptionsCategory['ProductOptionsCategory']['id'])); ?>
			<?php echo $html->link(__('Edit', true), array('action' => 'edit', $productOptionsCategory['ProductOptionsCategory']['id'])); ?>
			<?php echo $html->link(__('Delete', true), array('action' => 'delete', $productOptionsCategory['ProductOptionsCategory']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $productOptionsCategory['ProductOptionsCategory']['id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
</table>
</div>
<div class="paging">
	<?php echo $paginator->prev('<< '.__('previous', true), array(), null, array('class'=>'disabled'));?>
 | 	<?php echo $paginator->numbers();?>
	<?php echo $paginator->next(__('next', true).' >>', array(), null, array('class' => 'disabled'));?>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('New ProductOptionsCategory', true), array('action' => 'add')); ?></li>
		<li><?php echo $html->link(__('List Products', true), array('controller' => 'products', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Product', true), array('controller' => 'products', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Product Options', true), array('controller' => 'product_options', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Product Option', true), array('controller' => 'product_options', 'action' => 'add')); ?> </li>
	</ul>
</div>
