<div class="emails form">
<?php echo $form->create('Email');?>
	<fieldset>
 		<legend><?php __('Add Email');?></legend>
	<?php
		echo $form->input('enquiry_id');
		echo $form->input('to');
		echo $form->input('from');
		echo $form->input('cc');
		echo $form->input('body');
		echo $form->input('date');
		echo $form->input('subject');
		echo $form->input('content-type');
	?>
	</fieldset>
<?php echo $form->end('Submit');?>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('List Emails', true), array('action'=>'index'));?></li>
		<li><?php echo $html->link(__('List Enquiries', true), array('controller'=> 'enquiries', 'action'=>'index')); ?> </li>
		<li><?php echo $html->link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add')); ?> </li>
		<li><?php echo $html->link(__('List Email Attachments', true), array('controller'=> 'email_attachments', 'action'=>'index')); ?> </li>
		<li><?php echo $html->link(__('New Email Attachment', true), array('controller'=> 'email_attachments', 'action'=>'add')); ?> </li>
	</ul>
</div>
