?> </span> </div> <div id='quick-create-list-form' style='display:none'> <h3><?php echo Yii::t('contacts', 'New Contact List'); ?> </h3> </div> <div class='row'> <label><?php echo Yii::t('marketing', 'Email Template:'); ?> </label> <?php echo X2Html::activeDropDownList($model, 'template', $templates); ?> <?php echo X2Html::hint(Yii::t('marketing', "Choose a email template to use for this campaign, or create a custom one here.")); ?> </div> </div> </div> <?php $this->widget('FormView', array('model' => $model, 'form' => $form, 'suppressFields' => array('listId'))); ?> <div id='bottom-container'>
/** * This method is Copyright (c) 2008-2014 by Yii Software LLC * http://www.yiiframework.com/license/ */ public function dropDownList($model, $attribute, $data, $htmlOptions = array()) { return X2Html::activeDropDownList($model, $attribute, $data, $htmlOptions); }