Subversion Repositories SmartDukaan

Rev

Rev 13579 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
13579 anikendra 1
<div class="brands form">
2
<?php echo $this->Form->create('Brand'); ?>
3
	<fieldset>
4
		<legend><?php echo __('Admin Edit Brand'); ?></legend>
5
	<?php
6
		echo $this->Form->input('id');
7
		echo $this->Form->input('name');
13758 anikendra 8
		echo $this->Form->input('category_id');
9
		echo $this->Form->input('displayed_in_preference_page');
13579 anikendra 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('Brand.id')), null, __('Are you sure you want to delete # %s?', $this->Form->value('Brand.id'))); ?></li>
19
		<li><?php echo $this->Html->link(__('List Brands'), array('action' => 'index')); ?></li>
13758 anikendra 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>
13579 anikendra 22
	</ul>
23
</div>