Пример #1
0
    } else {
        $priority_data[$i] = $i;
    }
}
echo $form->dropDownList($model, 'priority', $priority_data, array('class' => 'span12', "id" => "priority-select", 'disabled' => !empty($model->edboID)));
?>
            <?php 
//echo $form->error($model,'CourseID');
?>
        </div>
        <div class="span5">
            <?php 
echo $form->labelEx($model, 'EntrantDocumentID');
?>
            <?php 
echo $form->dropDownList($model, 'EntrantDocumentID', Documents::PersonEntrantDocuments($personid), array('class' => 'span12', 'disabled' => !$model->isNewRecord));
?>
            <?php 
//echo $form->error($model,'CourseID');
?>
        </div>
        <div class="span4">
            <div class="row-fluid">
                <div class="span4">
                    <?php 
echo $form->labelEx($model, 'isCopyEntrantDoc');
?>
                    <div class="switch" data-on-label="Так" data-off-label="Ні">
                        <?php 
echo $form->checkBox($model, 'isCopyEntrantDoc');
?>
Пример #2
0
?>
    <?php 
//echo $form->error($model,'CourseID');
?>
                </div>
            </div>
        <hr>-->


    <div class="row-fluid">
        <div class="span5">
            <?php 
echo $form->labelEx($model, 'EntrantDocumentID');
?>
            <?php 
echo $form->dropDownList($model, 'EntrantDocumentID', Documents::PersonEntrantDocuments($personid, 1), array('empty' => '', 'class' => 'span12', 'disabled' => !$model->isNewRecord, 'onchange' => "PSN.onFacChange(this, '#" . CHtml::activeId($model, "SepcialityID") . "','" . CController::createUrl('personspeciality/speciality') . "');"));
?>
            <?php 
//echo $form->error($model,'CourseID');
?>
        </div>
        <div class="span5">
            <div class="row-fluid">
                <div class="span3">
                    <?php 
echo $form->labelEx($model, 'isCopyEntrantDoc');
?>
                    <div class="switch" data-on-label="Так" data-off-label="Ні">
                        <?php 
echo $form->checkBox($model, 'isCopyEntrantDoc');
?>
Пример #3
0
                    <?php 
//echo $form->error($model,'AdditionalBall');
?>
            </div>
            <?php 
//endif;
?>
        </div>
    <hr>
        <div class="row-fluid">
            <div class="span5">
		<?php 
echo $form->labelEx($model, 'EntrantDocumentID');
?>
		<?php 
echo $form->dropDownList($model, 'EntrantDocumentID', Documents::PersonEntrantDocuments($personid), array('class' => 'span12'));
?>
		<?php 
//echo $form->error($model,'CourseID');
?>
            </div>
           
            <div class="span2">
                    <?php 
echo $form->labelEx($model, 'isCopyEntrantDoc');
?>
                 <div class="switch" data-on-label="Так" data-off-label="Ні">
                    <?php 
echo $form->checkBox($model, 'isCopyEntrantDoc');
?>
                 </div>