<div class="principleAddresses form">
<?php echo $form->create('PrincipleAddress');?>
	<fieldset>
 		<legend><?php __('Edit Principle Address for: '.$principle['Principle']['name']);?></legend>
	<?php
		echo $form->input('id');
		echo $form->input('address');
		echo $form->input('city');
		echo $form->input('state');
		echo $form->input('country_id');
		echo $form->input('principle_id', array('type'=>'hidden', 'value'=>$principle['Principle']['id']));
		echo $form->input('type', array('label' => 'Address Type (Billing,Shipping or Both)', 'options' => array('Billing','Shipping', 'Both Shipping and Billing', 'Other')));
		echo $form->input('postcode');
	?>
	</fieldset>
<?php echo $form->end('Submit');?>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('List PrincipleAddresses', 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 Countries', true), array('controller'=> 'countries', 'action'=>'index')); ?> </li>
		<li><?php echo $html->link(__('New Country', true), array('controller'=> 'countries', 'action'=>'add')); ?> </li>
	</ul>
</div>
