<div class="products form">
<?php echo $form->create('Product');?>
	<fieldset>
 		<legend><?php __('Edit Product');?></legend>
	<?php
		echo $form->input('id');
		echo $form->input('principle_id');
		echo $form->input('title');
		//echo $form->input('description');
		

		/*echo "<div class=\"input text\">";
			echo "<label for=\"data[Product][description\">Description</label>";
			echo $fck->fckeditor(array('Product', 'description'), $description);
		echo "</div>";
		 */	
		echo $form->input('description', array('class'=>'ckeditor'));


		echo $form->input('model_number');
		echo $form->input('model_number_format');
		echo $form->input('cost_price_each');
		echo $form->input('our_discount');
		echo $form->input('packing_each');
		echo $form->input('shipping_weight_each');
		echo $form->input('shipping_cost_each');
		echo $form->input('duty');
		echo $form->input('sellprice_each');
		echo $form->input('notes');
	?>
	</fieldset>
<?php echo $form->end(array('label' => 'Edit Product', 'class'=>'wymupdate'));?>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('Delete', true), array('action'=>'delete', $form->value('Product.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $form->value('Product.id'))); ?></li>
		<li><?php echo $html->link(__('List Products', true), array('action'=>'index'));?></li>
		<li><?php echo $html->link(__('List Principles', true), array('controller'=> 'principles', 'action'=>'index')); ?> </li>
		<li><?php echo $html->link(__('New Principle', true), array('controller'=> 'principles', 'action'=>'add')); ?> </li>
		<li><?php echo $html->link(__('List Product Options', true), array('controller'=> 'product_options', 'action'=>'index')); ?> </li>
		<li><?php echo $html->link(__('New Product Option', true), array('controller'=> 'product_options', 'action'=>'add')); ?> </li>
	</ul>
</div>
