<div class="statuses view">
<h2><?php  __('Status: '.$status['Status']['name']);?></h2>

<div class="related">
	<h3><?php __('Enquiries with this Status');?></h3>
	<?php if (!empty($status['Enquiry'])) {
			echo $this->element('enquiry_table', $enquiries); 
		}
		else {
			echo "No Enquiries with this Status";
		}
	?>
	
	<div class="actions">
		<ul>
			<li><?php echo $html->link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add'));?> </li>
		</ul>
	</div>
</div>
