%h1=t('Transit simulation')
%form(method="get" action="#{url('plateAuthorization/CheckWhitelistPlate')}")
  %label(for="input-plate")
    =t('Plate')
  %input#input-plate.alphanumeric(name="plate" type="text")
  %br
  %label(for="input-gate")
    =t('Gate')
  %select#input-gate(name="gate" type="text")
    -foreach($gates as $gate => $gateDescr)
      %option(value="#{$gate}")="[$gate] $gateDescr"
  %br
  %label(for="input-datetime")
    =t('Date/Time')
  %input#input-datetime(name="time" type="datetime-local")
  %br
  !=CHtml::dropDownList('nationality', '', array_merge(array('' => ''), CountryList::localized()))
  %br
  %input(type="submit")