| Line 1... |
Line 1... |
| 1 |
<div class="notificationCampaigns form">
|
1 |
<div class="container">
|
| - |
|
2 |
<div class="row">
|
| - |
|
3 |
<div class="col-lg-3">
|
| - |
|
4 |
<?php echo $this->Element('adminactions');?>
|
| - |
|
5 |
</div>
|
| - |
|
6 |
<div class="col-lg-9">
|
| 2 |
<?php echo $this->Form->create('NotificationCampaign'); ?>
|
7 |
<?php echo $this->Form->create('NotificationCampaign'); ?>
|
| 3 |
<fieldset>
|
8 |
<fieldset>
|
| 4 |
<legend><?php echo __('Admin Edit Notification Campaign'); ?></legend>
|
9 |
<legend><?php echo __('Admin Edit Notification Campaign'); ?></legend>
|
| 5 |
<?php
|
10 |
<?php
|
| 6 |
echo $this->Form->input('id');
|
11 |
echo $this->Form->input('id');
|
| 7 |
echo $this->Form->input('name');
|
12 |
echo $this->Form->input('name',array('readonly'=>true));
|
| 8 |
echo $this->Form->input('title');
|
13 |
echo $this->Form->input('title',array('readonly'=>true));
|
| 9 |
echo $this->Form->input('message');
|
14 |
echo $this->Form->input('message',array('readonly'=>true));
|
| 10 |
echo $this->Form->input('type');
|
15 |
// echo $this->Form->input('type');
|
| 11 |
echo $this->Form->input('url');
|
16 |
echo $this->Form->input('url',array('readonly'=>true));
|
| - |
|
17 |
echo $this->Form->input('status',array('type'=>'select','options'=>array('active'=>'Active','inactive'=>'Inactive')));
|
| 12 |
echo $this->Form->input('expiresAt');
|
18 |
echo $this->Form->input('expiresat',array('type'=>'datetime'));
|
| 13 |
?>
|
19 |
?>
|
| 14 |
</fieldset>
|
20 |
</fieldset>
|
| 15 |
<?php echo $this->Form->end(__('Submit')); ?>
|
21 |
<?php echo $this->Form->end(__('Submit')); ?>
|
| 16 |
</div>
|
22 |
</div>
|
| 17 |
<div class="actions">
|
- |
|
| 18 |
<h3><?php echo __('Actions'); ?></h3>
|
- |
|
| 19 |
<ul>
|
- |
|
| 20 |
|
- |
|
| 21 |
<li><?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $this->Form->value('NotificationCampaign.id')), null, __('Are you sure you want to delete # %s?', $this->Form->value('NotificationCampaign.id'))); ?></li>
|
- |
|
| 22 |
<li><?php echo $this->Html->link(__('List Notification Campaigns'), array('action' => 'index')); ?></li>
|
- |
|
| 23 |
<li><?php echo $this->Html->link(__('List Pushnotifications'), array('controller' => 'pushnotifications', 'action' => 'index')); ?> </li>
|
- |
|
| 24 |
<li><?php echo $this->Html->link(__('New Pushnotification'), array('controller' => 'pushnotifications', 'action' => 'add')); ?> </li>
|
- |
|
| 25 |
</ul>
|
23 |
</div>
|
| 26 |
</div>
|
24 |
</div>
|
| 27 |
|
25 |
|