Example #1
0
						});
					});
				</script>
			</section>
			<section class="col-md-4 show-green">
<?php 
echo $form->textFieldGroup($ReisSearchForm, 'weight_to');
?>
				<div class="input-group-btn radius weight-unit">
					<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><?php 
echo Reis::enumWeight($ReisSearchForm->weight_to_unit);
?>
 <span class="caret"></span></button>
					<ul id="weight_to_unit_ul" class="dropdown-menu dropdown-menu-right">
<?php 
foreach (Reis::enumWeight() as $value => $text) {
    ?>
							<li>
								<a data-value="<?php 
    echo $value;
    ?>
"><?php 
    echo $text;
    ?>
 </a>
							</li>
				<?php 
}
?>
					</ul>
				</div>