<div class="contacts form">
<?php echo $form->create('Contact');?>
	<fieldset>
 		<legend><?php __('Edit Contact');?></legend>
	<?php
		echo $form->input('customer_id', array('type'=>'hidden'));
		echo $form->input('id');
		echo $form->input('first_name');
		echo $form->input('last_name');
		echo $form->input('email');
		echo $form->input('phone');
		echo $form->input('phone_extension');
		echo $form->input('direct_phone');
		echo $form->input('mobile');
		echo $form->input('fax');
		echo $form->input('contact_category_id', array('label' => 'Department', 'empty' => 'Please Choose a Department'));
		echo $form->input('job_title');
		echo $form->input('notes');
	?>
	</fieldset>
<?php echo $form->end('Submit');?>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('Delete', true), array('action'=>'delete', $form->value('Contact.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $form->value('Contact.id'))); ?></li>
		<li><?php echo $html->link(__('List Contacts', true), array('action'=>'index'));?></li>
		<li><?php echo $html->link(__('List Customers', true), array('controller'=> 'customers', 'action'=>'index')); ?> </li>
		<li><?php echo $html->link(__('New Customer', true), array('controller'=> 'customers', 'action'=>'add')); ?> </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>
	</ul>
</div>
