<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->theme->baseUrl . '/lib/multiselect/js/jquery.multi-select.js', CClientScript::POS_END); ?>
<?php Yii::app()->clientScript->registerCssFile(Yii::app()->theme->baseUrl . '/lib/multiselect/css/multi-select.css'); ?>

<?php
$js_multiselect = <<<JS
    $(document).ready(function() {
        $('.countries').multiSelect();
    });
JS;
Yii::app()->clientScript->registerScript('js_multiselect', $js_multiselect, CClientScript::POS_END);
?>

<div class="row-fluid formSep">
    <div class="span12">
        <div class="span2">
            <select multiple="multiple" class="countries" name="countries[]">
                <option value="fr">France</option>
                <option value="uk">United Kingdom</option>
                <option value="us">United States</option>
                <option value="ch">China</option>
            </select>        
        </div>
        <div class="span2">
            <select multiple="multiple" class="countries" name="countries[]">
                <option value="fr">France</option>
                <option value="uk">United Kingdom</option>
                <option value="us">United States</option>
                <option value="ch">China</option>
            </select>        
        </div>
        <div class="span2">
            <select multiple="multiple" class="countries" name="countries[]">
                <option value="fr">France</option>
                <option value="uk">United Kingdom</option>
                <option value="us">United States</option>
                <option value="ch">China</option>
            </select>        
        </div>
        <div class="span2">
            <select multiple="multiple" class="countries" name="countries[]">
                <option value="fr">France</option>
                <option value="uk">United Kingdom</option>
                <option value="us">United States</option>
                <option value="ch">China</option>
            </select>        
        </div>
        <div class="span2">
            <select multiple="multiple" class="countries" name="countries[]">
                <option value="fr">France</option>
                <option value="uk">United Kingdom</option>
                <option value="us">United States</option>
                <option value="ch">China</option>
            </select>        
        </div>
        <div class="span2">
            <select multiple="multiple" class="countries" name="countries[]">
                <option value="fr">France</option>
                <option value="uk">United Kingdom</option>
                <option value="us">United States</option>
                <option value="ch">China</option>
            </select>        
        </div>    
    </div>
</div>

