<div class="col-xs-12">

    <?php
    $form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
        'id' => 'portlet-poll-form',
        'enableAjaxValidation' => false,
    ));
    ?>

    <?php echo $form->errorSummary($model); ?>

    <div class="row">
        <?php // echo $form->labelEx($userVote, 'choice_id'); ?>
        <?php $template = '<div class="row-choice clearfix"><div class="form-radio">{input}</div><div class="form-label">{label}</div></div>'; ?>
        <?php
        echo $form->radioButtonList($userVote, 'choice_id', $choices, array(
            'template' => $template,
            'separator' => '',
            'name' => 'PortletPollVote_choice_id'));
        ?>

    </div>

    <div class="row buttons">
        <?php echo CHtml::submitButton(Yii::t('site', 'Vote')); ?>
        <div class="error-container">
            <?php echo $form->error($userVote, 'choice_id'); ?>
        </div>
    </div>

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

</div>
<!-- form -->