<?php $classes = VehicleTypes::getClassesForSelection(); ?>
<select <?php echo MtHaml\Runtime::renderAttributes(array(array('name', $selectName)), 'html5', 'UTF-8'); ?>>
  <option <?php echo MtHaml\Runtime::renderAttributes(array(array('value', ('')), array('selected', 'selected')), 'html5', 'UTF-8'); ?>><?php echo htmlspecialchars('-',ENT_QUOTES,'UTF-8'); ?></option>
  <?php foreach($classes as $class) { ?>
    <?php $dataContent = "<div class='data-content'><div class='icc'>".VehicleTypes::tagForVehicleClass($class['key'])."</div><div class='name'>".$class['value']."</div></div>"; ?>
    <option <?php echo MtHaml\Runtime::renderAttributes(array(array('value', ($class['key'])), array('data-content', $dataContent)), 'html5', 'UTF-8'); ?>></option>
  <?php } ?>
</select>
