<?php
/* @var $this NewsletterController */
/* @var $model Newsletter */
/* @var $form CActiveForm */
$this->breadcrumbs = array(
    'Newsletters' => array('admin'),
    'Send',
);
?>
<div class="page-header"><h1>Send Newsletter: <?php echo $model->title; ?></h1></div>

<div class="widget-box">
    <div class="widget-header header-color-grey">
	<h4 class="lighter smaller">The Newsletter Email will be send to the all of those recipients:</h4>
    </div>

    <div class="widget-body">
	<div class="widget-main padding-32">
	    <?php
	    $form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
		'method' => 'post',
	    ));
	    ?>
	    <?php $recipients = CHtml::listData($subscribers, 'email', 'email'); ?>

	    <?php echo CHtml::checkBoxList('recipients', $recipients, $recipients); ?>

	    <?php echo TbHtml::formActions(array(TbHtml::submitButton('Send', array('color' => TbHtml::BUTTON_COLOR_PRIMARY)), TbHtml::resetButton('Reset'),)); ?>

	    <?php $this->endWidget(); ?>
	</div>
    </div>
</div>