Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
13532 anikendra 1
<div class="categories form">
2
<?php echo $this->Form->create('Category'); ?>
3
	<fieldset>
4
		<legend><?php echo __('Edit Category'); ?></legend>
5
	<?php
6
		echo $this->Form->input('id');
7
		echo $this->Form->input('parent_id');
8
		echo $this->Form->input('lft');
9
		echo $this->Form->input('rght');
10
		echo $this->Form->input('name');
11
	?>
12
	</fieldset>
13
<?php echo $this->Form->end(__('Submit')); ?>
14
</div>
15
<div class="actions">
16
	<h3><?php echo __('Actions'); ?></h3>
17
	<ul>
18
 
19
		<li><?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $this->Form->value('Category.id')), null, __('Are you sure you want to delete # %s?', $this->Form->value('Category.id'))); ?></li>
20
		<li><?php echo $this->Html->link(__('List Categories'), array('action' => 'index')); ?></li>
21
		<li><?php echo $this->Html->link(__('List Products'), array('controller' => 'products', 'action' => 'index')); ?> </li>
22
		<li><?php echo $this->Html->link(__('New Product'), array('controller' => 'products', 'action' => 'add')); ?> </li>
23
	</ul>
24
</div>