Ejemplo n.º 1
0
Yii::import('application.extensions.CJuiDateTimePicker.CJuiDateTimePicker');
$this->widget('CJuiDateTimePicker', array('model' => $model, 'attribute' => 'send_time', 'mode' => 'datetime', 'language' => 'en-GB', 'options' => array('showAnim' => 'fold', 'showButtonPanel' => true, 'autoSize' => true, 'dateFormat' => 'dd/mm/yy', 'timeFormat' => 'hh:mm:ss', 'width' => '120', 'separator' => ' '), 'htmlOptions' => array('style' => 'width:180px;')));
?>
        <span>(dd/mm/yyyy)</span>
        <?php 
echo $form->error($model, 'send_time');
?>
    </div>

    <div class="row group_subscriber">
            <?php 
echo $form->labelEx($model, 'newsletter_group_subscriber');
?>
			<div class="fix-label">
            <?php 
$this->widget('ext.multiselect.JMultiSelect', array('model' => $model, 'attribute' => 'newsletter_group_subscriber', 'data' => SubscriberGroup::loadItems(), 'options' => array(), 'htmlOptions' => array('style' => 'width: 350px;')));
?>
		   </div>
        <?php 
if (isset($get_error) && $get_error != "") {
    echo $get_error;
}
?>
            <?php 
echo $form->error($model, 'newsletter_group_subscriber');
?>
    </div>
    
    <div class="row">
        <?php 
echo $form->labelEx($model, 'content');