<?php
$form = $this->beginWidget('CActiveForm', array(
    'id' => 'newsletter-test-group-form',
    'enableAjaxValidation' => false,
        ));
?>
<div id="headlines" style="width: 99%; padding-left:2%;">
    <img class="right5" width="12" height="7" src="<?php echo Yii::app()->baseUrl; ?>/images/admin/bg.png">
    Test Group | <a href="<?php echo Yii::app()->createUrl('newsletter/log'); ?>">Log</a>
</div>
<div style="height:525px; background-color:#f7eee1;" id="communicationsbox">
    <div id="row">

        <fieldset id="current">
            <strong><?php
                foreach (Yii::app()->user->getFlashes() as $key => $message) {
                    echo '<div class="flash-' . $key . '">' . $message . "</div>\n";
                }
                ?></strong>
            <legend><strong>Test group(Enter Email Ids separated by comma)</strong> <br />
            </legend>
            <table width="800" cellspacing="0" cellpadding="4">
                <tr>
                    <td width="749" align="center"><?php echo $form->textArea($model, 'email_id', array('rows' => 10, 'cols' => 80)); ?> <?php echo $form->error($model, 'content'); ?></td>
                </tr>
                <tr>
                    <td align="center">
                        <?php echo CHtml::submitButton('Update'); ?>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                </tr>
            </table>
        </fieldset>
    </div>
</div>
<?php $this->endWidget(); ?>