<?php 
	echo $form->create('ProductAttachment', array('action' => 'add/productid:'.$product['Product']['id'], 'type' => 'file'));
	echo '<fieldset>';
 	echo'<legend>'; 
 	__('Add File to '.$product['Principle']['name'].' '.$product['Product']['title']);
 	echo '</legend>';
	echo $form->file('File');
	echo $form->input('description');
	echo $form->input('product_id', array('type'=>'hidden', 'value' => $product['Product']['id']));
	//echo $form->submit('Upload');
	echo $form->end('Upload');
	echo '</fieldset>';
?>
<?php print_r($product); ?>
