Beispiel #1
0
            </table>

            <?php 
echo $form->textFieldControlGroup($model, 'salary', array('span' => 5, 'maxlength' => 255));
?>

            <?php 
echo $form->textAreaControlGroup($model, 'documents', array('rows' => 2, 'span' => 8));
?>

            <?php 
echo $form->labelEx($model, 'driverLicensesIds');
?>
            <div class="div-overflow">
                <?php 
echo $form->checkBoxList($model, 'driverLicensesIds', CHtml::listData(DriverLicenses::model()->findAll(array('order' => 'id')), 'id', 'name'));
?>
            </div>

            <?php 
echo $form->textFieldControlGroup($model, 'first_name', array('span' => 5, 'maxlength' => 255));
?>

            <?php 
echo $form->textFieldControlGroup($model, 'last_name', array('span' => 5, 'maxlength' => 255));
?>

            <?php 
echo $form->dropDownListControlGroup($model, 'gender', $model->genderTypes, array('span' => 5, 'maxlength' => 1));
?>
Beispiel #2
0
            <?php 
    echo $form->labelEx($model, 'documents');
    ?>
            <?php 
    echo $form->textArea($model, 'documents', ['rows' => 2, 'class' => 'span8']);
    ?>
            <?php 
    echo $form->error($model, 'documents');
    ?>

            <?php 
    echo $form->labelEx($model, 'driverLicensesIds');
    ?>
            <div class="div-overflow">
                <?php 
    echo $form->checkBoxList($model, 'driverLicensesIds', CHtml::listData(DriverLicenses::model()->findAll(array('order' => 'id')), 'id', 'name'), ['template' => '{beginLabel}{input} {labelTitle}{endLabel}', 'separator' => '']);
    ?>
            </div>
            <?php 
    echo $form->error($model, 'driverLicensesIds');
    ?>


            <?php 
    echo $form->labelEx($model, 'applicant_type');
    ?>
            <p>Учасник протестів на Майдані / Внутрішньо Переміщена Особа (з Криму, зі Сходу України).</p>
            <?php 
    echo $form->textArea($model, 'applicant_type', ['rows' => 2, 'class' => 'span8']);
    ?>
            <?php 
Beispiel #3
0
echo CHtml::checkBoxList('assistanceIds', $assistanceIdsFilter, CHtml::listData(AssistanceTypes::model()->findAll(array('order' => getOrder($assistanceIdsFilter) . 'name ASC')), 'id', 'name'), array('template' => '{beginLabel}{input} {labelTitle}{endLabel}', 'separator' => ''));
?>
                    </div>
                </td>
                <td class="<?php 
echo getClassName($licensesIdsFilter);
?>
">
                    <strong><?php 
echo CHtml::encode(CvList::model()->getAttributeLabel('driverLicensesIds'));
?>
</strong><br />
                    <input type="text" name="licensesFilter" class="filter" size="10" />
                    <div class="div-overflow narrow">
                        <?php 
echo CHtml::checkBoxList('licensesIds', $licensesIdsFilter, CHtml::listData(DriverLicenses::model()->findAll(array('order' => getOrder($licensesIdsFilter) . 'name ASC')), 'id', 'name'), array('template' => '{beginLabel}{input} {labelTitle}{endLabel}', 'separator' => ''));
?>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    <br />
    <input type="submit" class="btn btn-primary btn-small" value="Знайти" />
    <input type="button" class="btn btn-primary btn-small reset" value="Скинути" onclick="$(':input','#filter').not(':button, :submit, :reset, :hidden').val('').removeAttr('checked').removeAttr('selected'); $('#filter').submit();" />
</form>
    <h4>
        <?php 
echo Yii::t('main', 'profiles.status.statistic');
?>
        <?php