| 14509 |
anikendra |
1 |
<div class="campaigns form">
|
|
|
2 |
<?php echo $this->Form->create('Campaign'); ?>
|
|
|
3 |
<fieldset>
|
|
|
4 |
<legend><?php echo __('Admin Edit Campaign'); ?></legend>
|
|
|
5 |
<?php
|
|
|
6 |
echo $this->Form->input('id');
|
|
|
7 |
echo $this->Form->input('name');
|
|
|
8 |
echo $this->Form->input('url');
|
|
|
9 |
echo $this->Form->input('img_url');
|
|
|
10 |
$sizes = array('paused' => 'Paused', 'active' => 'Active', 'deleted' => 'Deleted');
|
|
|
11 |
echo $this->Form->input(
|
|
|
12 |
'status',
|
|
|
13 |
array('options' => $sizes, 'default' => 'active')
|
|
|
14 |
);
|
| 14547 |
anikendra |
15 |
echo $this->Form->input('store_id');
|
| 14579 |
anikendra |
16 |
echo $this->Form->input('starttime');
|
|
|
17 |
echo $this->Form->input('endtime');
|
| 14509 |
anikendra |
18 |
?>
|
|
|
19 |
</fieldset>
|
|
|
20 |
<?php echo $this->Form->end(__('Submit')); ?>
|
|
|
21 |
</div>
|
|
|
22 |
<div class="actions">
|
|
|
23 |
<h3><?php echo __('Actions'); ?></h3>
|
|
|
24 |
<ul>
|
|
|
25 |
|
|
|
26 |
<li><?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $this->Form->value('Campaign.id')), null, __('Are you sure you want to delete # %s?', $this->Form->value('Campaign.id'))); ?></li>
|
|
|
27 |
<li><?php echo $this->Html->link(__('List Campaigns'), array('action' => 'index')); ?></li>
|
|
|
28 |
</ul>
|
|
|
29 |
</div>
|