示例#1
0
echo $form->labelEx($model, 'isPublishIn');
?>
            <div class="switch" data-on-label="Так" data-off-label="Ні">
                <?php 
echo $form->checkBox($model, 'isPublishIn');
?>
            </div> 
        </div>   
    </div>
      <hr/>
    <div class="row-fluid">
        <?php 
echo $form->labelEx($model, 'basespecialitys');
?>
        <?php 
echo $form->dropDownList($model, 'basespecialitys', Personbasespeciality::DropDown(), array('empty' => "", 'style' => "width: 100%;", "multiple" => "multiple"));
?>
    </div>
     <?php 
//------------------------------------------------------------------------------------------------------------------------------------//
?>
    <hr/>
    <div class="row-fluid">   	
        <div class ="span4">
            <?php 
echo $form->labelEx($model, 'Quota2');
?>
            <?php 
echo $form->textField($model, 'Quota2', array('class' => 'span12', 'size' => 12));
?>
            <?php 
示例#2
0
echo $form->labelEx($model, 'isNotCheckAttestat');
?>
            <div class="switch" data-on-label="Так" data-off-label="Ні">
                <?php 
echo $form->checkBox($model, 'isNotCheckAttestat');
?>
            </div>
        </div>
    </div>
    <div class="row-fluid" >
        <div class ="span6" style="margin-top: 4px;">
            <?php 
echo $form->labelEx($model, 'PersonBaseSpecealityID');
?>
            <?php 
echo $form->dropDownList($model, 'PersonBaseSpecealityID', Personbasespeciality::DropDown(), array('empty' => "", 'class' => 'span12'));
?>
        </div>   
        <div class="span3">
            <?php 
echo $form->labelEx($model, 'PersonDocumentsAwardsTypesID');
?>
            <?php 
echo $form->dropDownList($model, 'PersonDocumentsAwardsTypesID', CHtml::listData(Persondocumentsawardstypes::model()->findAll(), 'idPersonDocumentsAwardsTypes', 'PersonDocumentsAwardsTypesName'), array('empty' => '', 'class' => 'span12', 'style' => "width: 100%;"));
?>
        </div>
    </div>

    <p class="help-block"><strong>Попередня освіта</strong></p>
    <hr>   
    <div class="row-fluid" >