?> <?php $this->widget('application.components.rowset.RowsetWidget'); ?> <div class="row"> <section class="col-sm-6"> <h3><?php echo Yii::t('ReisModule.default', 'Когда'); ?> :</h3> </section> </div> <div class="row"> <section class="col-sm-6"> <?php echo $form->dropDownListGroup($Reis, 'when_type_id', ['widgetOptions' => ['data' => Reis::getWhenType()]]); ?> </section> <script> $(function() { $('#Reis_when_type_id').change(function() { value = $(this).find('option:selected').val(); if(value=='40') { $('.range').show(); } else { $('.range').hide(); } }); }) </script> <section class="col-sm-6">