.page-header
  %h2=t('Plate authorizations diagnostic')
  
- if(!$testRun)
  %form
    %input(type="hidden" name="plateListId" value="#{$plateListId}")
    %input(type="submit" name="analyze" value="#{t('Analyze')}")
- else
  %form
    %input(type="hidden" name="plateListId" value="#{$plateListId}")
    %input(type="submit" name="reset" value="#{t('Reset')}")

  %table.table.table-condensed
    %thead
      %th=t('Type')
      %th=t('Message')
      %th=t('Actions')
    %tbody
      -foreach($messages as $msg)
        %tr
          %td=$msg->type
          %td=$msg->message
          %td=$msg->actions
  