-$countryList = CountryList::localized()
%h1=t('Plate Authorizations')
%table.table.table-condensed
  %thead
    %th(style="width: 30px;")
    %th=t('List')
    %th=t('Plate')
    %th=t('Nationality')
  %tbody
    -foreach($plateAuths as $p)
      %tr
        %td
          %a(href="#{url('PlateAuthorization/view', array('id'=>$p->ID))}")
            .icon-eye-open
        %td=$p->plate_list->getListTitle()
        %td=$p->vehicle->Targa
        %td
          -$nat = $p->vehicle->Nationality
          -if($this->printCountryFlag($nat))
          = $countryList[$nat]