<?php $countries = CountryList::getCountryName($modelName::getNationCodesList()); ?>
<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($countries as $country) { ?>
    <option <?php echo MtHaml\Runtime::renderAttributes(array(array('value', ($country['iso_code'])), array('data-content', (CountryFlag::tagForCountryCode($country['iso_code']).$country['nation']))), 'html5', 'UTF-8'); ?>>
      <?php echo htmlspecialchars($country['nation'],ENT_QUOTES,'UTF-8'); ?>
    </option>
  <?php } ?>
</select>
