Subversion Repositories SmartDukaan

Rev

Rev 13579 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13579 Rev 13758
Line 3... Line 3...
3
	<fieldset>
3
	<fieldset>
4
		<legend><?php echo __('Admin Edit Brand'); ?></legend>
4
		<legend><?php echo __('Admin Edit Brand'); ?></legend>
5
	<?php
5
	<?php
6
		echo $this->Form->input('id');
6
		echo $this->Form->input('id');
7
		echo $this->Form->input('name');
7
		echo $this->Form->input('name');
-
 
8
		echo $this->Form->input('category_id');
-
 
9
		echo $this->Form->input('displayed_in_preference_page');
8
	?>
10
	?>
9
	</fieldset>
11
	</fieldset>
10
<?php echo $this->Form->end(__('Submit')); ?>
12
<?php echo $this->Form->end(__('Submit')); ?>
11
</div>
13
</div>
12
<div class="actions">
14
<div class="actions">
13
	<h3><?php echo __('Actions'); ?></h3>
15
	<h3><?php echo __('Actions'); ?></h3>
14
	<ul>
16
	<ul>
15
 
17
 
16
		<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>
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>
17
		<li><?php echo $this->Html->link(__('List Brands'), array('action' => 'index')); ?></li>
19
		<li><?php echo $this->Html->link(__('List Brands'), 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>
18
	</ul>
22
	</ul>
19
</div>
23
</div>