| 13532 |
anikendra |
1 |
<div class="offers form">
|
|
|
2 |
<?php echo $this->Form->create('Offer'); ?>
|
|
|
3 |
<fieldset>
|
|
|
4 |
<legend><?php echo __('Admin Edit Offer'); ?></legend>
|
|
|
5 |
<?php
|
|
|
6 |
echo $this->Form->input('id');
|
|
|
7 |
echo $this->Form->input('starttime');
|
|
|
8 |
echo $this->Form->input('endtime');
|
|
|
9 |
echo $this->Form->input('url');
|
|
|
10 |
echo $this->Form->input('title');
|
|
|
11 |
echo $this->Form->input('description');
|
|
|
12 |
echo $this->Form->input('category');
|
|
|
13 |
echo $this->Form->input('img730x150');
|
|
|
14 |
echo $this->Form->input('img482x234');
|
|
|
15 |
echo $this->Form->input('img720x280');
|
|
|
16 |
echo $this->Form->input('img540x210');
|
|
|
17 |
echo $this->Form->input('img360x140');
|
|
|
18 |
echo $this->Form->input('img270x105');
|
|
|
19 |
?>
|
|
|
20 |
</fieldset>
|
|
|
21 |
<?php echo $this->Form->end(__('Submit')); ?>
|
|
|
22 |
</div>
|
|
|
23 |
<div class="actions">
|
|
|
24 |
<h3><?php echo __('Actions'); ?></h3>
|
|
|
25 |
<ul>
|
|
|
26 |
|
|
|
27 |
<li><?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $this->Form->value('Offer.id')), null, __('Are you sure you want to delete # %s?', $this->Form->value('Offer.id'))); ?></li>
|
|
|
28 |
<li><?php echo $this->Html->link(__('List Offers'), array('action' => 'index')); ?></li>
|
|
|
29 |
</ul>
|
|
|
30 |
</div>
|