Beispiel #1
0
                <section class="col-sm-8">
                <?php 
echo $form->checkboxListGroup($Reis, 'documents', ['widgetOptions' => ['data' => Reis::getDocuments()]]);
?>
                </section>
            </div>
        </section>
    </div>
    <h3 class="show-green"><?php 
echo Yii::t('ReisModule.default', 'Транспорт');
?>
</h3>
    <div class="row show-green">
        <section class="col-sm-6">
        <?php 
echo $form->dropDownListGroup($Reis, 'transport_type_id', ['widgetOptions' => ['data' => ['' => '---'] + Reis::getTransportType()]]);
?>
        </section>
        <section class="col-sm-2">
            <?php 
echo $form->checkboxGroup($Reis, '2_trailer');
?>
        </section>
        <section class="col-sm-2">
            <?php 
echo $form->checkboxGroup($Reis, 'pneumatic');
?>
        </section>
        <section class="col-sm-2">
            <?php 
echo $form->checkboxGroup($Reis, 'conic');
Beispiel #2
0
echo $form->textFieldGroup($Autosearch, 'name');
?>
    </section>
</div>
<div class="row">
	<section class="col-md-6">
		<h3><?php 
echo Yii::t('ReisModule.default', 'Вид транспорта');
?>
:</h3>
	</section>
</div>
<div class="row">
	<section class="col-md-6">
		<?php 
echo $form->dropDownListGroup($ReisSearchForm, 'transport_type_id', ['widgetOptions' => ['data' => [0 => Yii::t('ReisModule.default', 'Все')] + Reis::getTransportType(), 'htmlOptions' => ['onChange' => 'javascript:transportChangeViewByType(this.value)']], 'label' => '']);
?>
	</section>
</div>
<div class="row geo-search">
	<section class="col-md-6 geo-search-from">
		<?php 
$this->widget('application.components.mapwindow.MapWindowWidget', array('model' => $ReisSearchForm, 'form' => $form, 'name' => 'from_name', 'addressLat' => 'from_address_lat', 'addressLong' => 'from_address_long', 'addressInd' => 'from_ind', 'shapes' => 'from_shapes', 'radius' => 'from_radius', 'id' => 'from'));
?>
	</section>
	<section class="col-md-6 geo-search-to">
		<?php 
$this->widget('application.components.mapwindow.MapWindowWidget', array('model' => $ReisSearchForm, 'form' => $form, 'name' => 'to_name', 'addressLat' => 'to_address_lat', 'addressLong' => 'to_address_long', 'addressInd' => 'to_ind', 'radius' => 'to_radius', 'shapes' => 'to_shapes', 'id' => 'to'));
?>
	</section>
</div>