Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

<div class="stores form">
<?php echo $this->Form->create('Store'); ?>
        <fieldset>
                <legend><?php echo __('Edit Store'); ?></legend>
        <?php
                echo $this->Form->input('id');
                echo $this->Form->input('name');
                echo $this->Form->input('status');
                echo $this->Form->input('affiliate_id');
        ?>
        </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('Store.id')), null, __('Are you sure you want to delete # %s?', $this->Form->value('Store.id'))); ?></li>
                <li><?php echo $this->Html->link(__('List Stores'), array('action' => 'index')); ?></li>
                <li><?php echo $this->Html->link(__('List Orders'), array('controller' => 'orders', 'action' => 'index')); ?> </li>
                <li><?php echo $this->Html->link(__('New Order'), array('controller' => 'orders', 'action' => 'add')); ?> </li>
                <li><?php echo $this->Html->link(__('List Store Products'), array('controller' => 'store_products', 'action' => 'index')); ?> </li>
                <li><?php echo $this->Html->link(__('New Store Product'), array('controller' => 'store_products', 'action' => 'add')); ?> </li>
        </ul>
</div>