Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

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