Subversion Repositories SmartDukaan

Rev

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

<div class="brands form">
<?php echo $this->Form->create('Brand'); ?>
        <fieldset>
                <legend><?php echo __('Admin Edit Brand'); ?></legend>
        <?php
                echo $this->Form->input('id');
                echo $this->Form->input('name');
                echo $this->Form->input('category_id');
                echo $this->Form->input('displayed_in_preference_page');
        ?>
        </fieldset>
<?php echo $this->Form->end(__('Submit')); ?>
</div>
<div class="actions">
        <h3><?php echo __('Actions'); ?></h3>
        <ul>

                <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>
                <li><?php echo $this->Html->link(__('List Brands'), array('action' => 'index')); ?></li>
                <li><?php echo $this->Html->link(__('List Categories'), array('controller' => 'categories', 'action' => 'index')); ?> </li>
                <li><?php echo $this->Html->link(__('New Category'), array('controller' => 'categories', 'action' => 'add')); ?> </li>
        </ul>
</div>