Ejemplo n.º 1
0
            <?php 
echo TbForm::checkboxes($checkboxes, 'Статус');
?>
            <div class="control-group">
                <label class="control-label"><?php 
echo __('f_company_type');
?>
</label>
                <div class="controls">
                    <?php 
echo FORM::select('type', $company_types, Arr::get($values, 'type'), array('id' => 'company_type'));
?>
                </div>
            </div>
            <?php 
echo TbForm::radiobuttons('org_type', $org_types, array('label' => __('f_org_type')));
?>
            <?php 
echo TbForm::input('name', array('label' => __('f_full_company_name')));
?>
            <?php 
echo TbForm::input('inn', array('label' => __('f_inn')));
?>
            <?php 
echo TbForm::input('director_name', array('label' => __('f_director_name')));
?>
            <?php 
echo TbForm::input('contact_person', array('label' => __('f_contact_person')));
?>

Ejemplo n.º 2
0
echo FORM::select('model_id', $car_models, Arr::get($values, 'model_id'), array('id' => 'add_qa_models'));
?>
            <?php 
if (Arr::get($errors, 'model_id')) {
    ?>
                <p class="help-block"><?php 
    echo $errors['model_id'];
    ?>
</p>
            <?php 
}
?>
        </div>
    </div>
    <?php 
echo TbForm::radiobuttons('gearbox_id', $gearboxes, array('label' => 'КПП'));
?>
    <?php 
echo TbForm::input('volume', array('label' => 'Объем', 'size' => 1));
?>
    <?php 
echo TbForm::input('year', array('label' => 'Год выпуска', 'size' => 1));
?>
    <?php 
echo TbForm::input('vin', array('label' => 'VIN', 'size' => 2));
?>
    <div class="control-group">
        <label class="control-label">Перечень нужных работ</label>
        <div class="controls">
            <select id="works" multiple="multiple" name="work[]" style="width: 420px;">
                <?php