<div class="page-header">
  <h2><?php echo htmlspecialchars(t('Plate authorizations diagnostic'),ENT_QUOTES,'UTF-8'); ?></h2>
</div>
<?php if(!$testRun) { ?>
  <form>
    <input <?php echo MtHaml\Runtime::renderAttributes(array(array('type', 'hidden'), array('name', 'plateListId'), array('value', $plateListId)), 'html5', 'UTF-8'); ?> />
    <input <?php echo MtHaml\Runtime::renderAttributes(array(array('type', 'submit'), array('name', 'analyze'), array('value', (t('Analyze')))), 'html5', 'UTF-8'); ?> />
  </form>
<?php } else { ?>
  <form>
    <input <?php echo MtHaml\Runtime::renderAttributes(array(array('type', 'hidden'), array('name', 'plateListId'), array('value', $plateListId)), 'html5', 'UTF-8'); ?> />
    <input <?php echo MtHaml\Runtime::renderAttributes(array(array('type', 'submit'), array('name', 'reset'), array('value', (t('Reset')))), 'html5', 'UTF-8'); ?> />
  </form>
  <table class="table table-condensed">
    <thead>
      <th><?php echo htmlspecialchars(t('Type'),ENT_QUOTES,'UTF-8'); ?></th>
      <th><?php echo htmlspecialchars(t('Message'),ENT_QUOTES,'UTF-8'); ?></th>
      <th><?php echo htmlspecialchars(t('Actions'),ENT_QUOTES,'UTF-8'); ?></th>
    </thead>
    <tbody>
      <?php foreach($messages as $msg) { ?>
        <tr>
          <td><?php echo htmlspecialchars($msg->type,ENT_QUOTES,'UTF-8'); ?></td>
          <td><?php echo htmlspecialchars($msg->message,ENT_QUOTES,'UTF-8'); ?></td>
          <td><?php echo htmlspecialchars($msg->actions,ENT_QUOTES,'UTF-8'); ?></td>
        </tr>
      <?php } ?>
    </tbody>
  </table>
<?php } ?>
