| Line 36... |
Line 36... |
| 36 |
<?php echo $this->Form->create('Campaign',array('class'=>'form')); ?>
|
36 |
<?php echo $this->Form->create('Campaign',array('class'=>'form')); ?>
|
| 37 |
<fieldset>
|
37 |
<fieldset>
|
| 38 |
<legend><?php echo __('New Campaign'); ?></legend>
|
38 |
<legend><?php echo __('New Campaign'); ?></legend>
|
| 39 |
<?php
|
39 |
<?php
|
| 40 |
echo $this->Form->input('name',array('label'=>'Text','type'=>'textarea','class'=>'form-control'));
|
40 |
echo $this->Form->input('name',array('label'=>'Text','type'=>'textarea','class'=>'form-control'));
|
| - |
|
41 |
echo $this->Form->input('store_id');
|
| 41 |
echo $this->Form->input('url', array('class' => 'form-control' ));
|
42 |
echo $this->Form->input('url', array('class' => 'form-control' ));
|
| 42 |
echo $this->Form->input('starttime');
|
43 |
echo $this->Form->input('starttime');
|
| 43 |
echo $this->Form->input('endtime');
|
44 |
echo $this->Form->input('endtime');
|
| 44 |
echo $this->Form->input('img_url',array('type'=>'hidden'));
|
45 |
echo $this->Form->input('img_url',array('type'=>'hidden'));
|
| 45 |
$sizes = array('paused' => 'Paused', 'active' => 'Active', 'deleted' => 'Deleted');
|
46 |
$sizes = array('paused' => 'Paused', 'active' => 'Active', 'deleted' => 'Deleted');
|