
<!-- indexer::stop -->
<div class="<?= $this->class ?> two_column tableform login block"<?= $this->cssID ?><?php if ($this->style): ?> style="<?= $this->style ?>"<?php endif; ?>>

  <?php if ($this->headline): ?>
    <<?= $this->hl ?>><?= $this->headline ?></<?= $this->hl ?>>
  <?php endif; ?>

  <form<?php if ($this->action): ?> action="<?= $this->action ?>"<?php endif; ?> id="tl_login" method="post">
    <div class="formbody">
      <?php if ($this->message): ?>
        <p class="error"><?= $this->message ?></p>
      <?php endif; ?>
      <input type="hidden" name="FORM_SUBMIT" value="tl_login">
      <input type="hidden" name="REQUEST_TOKEN" value="{{request_token}}">
      <table>
        <tr class="row_0 row_first">
          <td class="col_0 col_first"><label for="username"><?= $this->username ?></label></td>
          <td class="col_1 col_last"><input type="text" name="username" id="username" class="text" value="<?= $this->value ?>"></td>
        </tr>
        <tr class="row_1">
          <td class="col_0 col_first"><label for="password"><?= $this->password ?></label></td>
          <td class="col_1 col_last"><input type="password" name="password" id="password" class="text password" value=""></td>
        </tr>
        <?php if ($this->autologin): ?>
          <tr class="row_2">
            <td class="col_0 col_first">&nbsp;</td>
            <td class="col_1 col_last"><div class="checkbox_container"><input type="checkbox" name="autologin" id="autologin" value="1" class="checkbox"> <label for="autologin"><?= $this->autoLabel ?></label></div></td>
          </tr>
        <?php endif; ?>
        <tr class="row_<?= $this->autologin ? 3 : 2 ?> row_last">
          <td class="col_0 col_first">&nbsp;</td>
          <td class="col_1 col_last"><div class="submit_container"><input type="submit" class="submit" value="<?= $this->slabel ?>"></div></td>
        </tr>
      </table>
    </div>
  </form>

</div>
<!-- indexer::continue -->
