?>
    </section>
</div>
<div class="row">
    <section class="col-md-6">
    <?php 
$adr = [];
for ($i = 1; $i < 10; ++$i) {
    $adr[$i] = $i;
}
echo $form->dropDownListGroup($Transport, 'ADR', ['widgetOptions' => ['data' => ['' => '---'] + $adr]]);
?>
    </section>
    <section class="col-md-6">
    <?php 
echo $form->checkboxListGroup($Transport, 'documents', ['widgetOptions' => ['data' => Cargo::getDocuments()]]);
?>
    </section>
</div>
<div class="row">
    <section class="col-md-6">
    <?php 
echo $form->checkboxListGroup($Transport, 'load_type', ['widgetOptions' => ['data' => Transport::getTypeLoadUnload()]]);
?>
    </section>
    <section class="col-md-6">
    <?php 
echo $form->checkboxListGroup($Transport, 'unload_type', ['widgetOptions' => ['data' => Transport::getTypeLoadUnload()]]);
?>
    </section>
</div>
Exemple #2
0
            <div class="autotransport">
                <?php 
echo $form->checkboxGroup($Cargo, '2_trailer');
?>
                <?php 
echo $form->checkboxGroup($Cargo, 'pneumatic');
?>
            </div>
            <div class="clearfix"></div>
            <h3 style="margin-top: 10px;" class="autotransport"><?php 
echo Yii::t('CargoModule.default', 'Документы:');
?>
</h3>
            <div class="documents autotransport">
                <?php 
echo $form->checkboxListGroup($Cargo, 'documents', ['widgetOptions' => ['data' => Cargo::getDocuments()], 'label' => FALSE]);
?>
            </div>                
        </section>
        <section class="col-md-3 cargo-need to-top">
            <h3><?php 
echo Yii::t('CargoModule.default', 'Требуется:');
?>
</h3>
            <div class="row">
                <section class="col-md-6 zhdtransport">
                    <?php 
echo $form->checkboxGroup($Cargo, 'to_station');
?>
                    <?php 
echo $form->checkboxGroup($Cargo, 'from_station');