Blame | Last modification | View Log | RSS feed
<div class="products form"><?php echo $this->Form->create('Product'); ?><fieldset><legend><?php echo __('Edit Product'); ?></legend><?phpecho $this->Form->input('id');echo $this->Form->input('name');echo $this->Form->input('category_id');echo $this->Form->input('tag_line');?></fieldset><?php echo $this->Form->end(__('Submit')); ?></div><div class="actions"><h3><?php echo __('Actions'); ?></h3><ul><li><?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $this->Form->value('Product.id')), null, __('Are you sure you want to delete # %s?', $this->Form->value('Product.id'))); ?></li><li><?php echo $this->Html->link(__('List Products'), array('action' => 'index')); ?></li><li><?php echo $this->Html->link(__('List Categories'), array('controller' => 'categories', 'action' => 'index')); ?> </li><li><?php echo $this->Html->link(__('New Category'), array('controller' => 'categories', 'action' => 'add')); ?> </li><li><?php echo $this->Html->link(__('List Productviews'), array('controller' => 'productviews', 'action' => 'index')); ?> </li><li><?php echo $this->Html->link(__('New Productview'), array('controller' => 'productviews', 'action' => 'add')); ?> </li></ul></div>