Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
15403 manish.sha 1
<div class="products form">
2
<?php echo $this->Form->create('Product'); ?>
3
	<fieldset>
4
		<legend><?php echo __('Edit Product'); ?></legend>
5
	<?php
6
		echo $this->Form->input('id');
7
		echo $this->Form->input('name');
8
		echo $this->Form->input('category_id');
9
		echo $this->Form->input('tag_line');
10
	?>
11
	</fieldset>
12
<?php echo $this->Form->end(__('Submit')); ?>
13
</div>
14
<div class="actions">
15
	<h3><?php echo __('Actions'); ?></h3>
16
	<ul>
17
 
18
		<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>
19
		<li><?php echo $this->Html->link(__('List Products'), array('action' => 'index')); ?></li>
20
		<li><?php echo $this->Html->link(__('List Categories'), array('controller' => 'categories', 'action' => 'index')); ?> </li>
21
		<li><?php echo $this->Html->link(__('New Category'), array('controller' => 'categories', 'action' => 'add')); ?> </li>
22
		<li><?php echo $this->Html->link(__('List Productviews'), array('controller' => 'productviews', 'action' => 'index')); ?> </li>
23
		<li><?php echo $this->Html->link(__('New Productview'), array('controller' => 'productviews', 'action' => 'add')); ?> </li>
24
	</ul>
25
</div>