<?= $this->extend('layouts/main') ?>
<?= $this->section('content') ?>
<link href="/css/front/content.css" media="screen" rel="stylesheet" type="text/css" />
<link href="/css/common/login.css" media="screen" rel="stylesheet" type="text/css" />
<div id="content">
  <div class="login container">
    <?= form_open(current_url(), $viewDatas['forms']['attributes'], $viewDatas['forms']['hiddens']) ?>
    <table style="width:60%; margin-left:80px;">
      <tr>
        <td class=" label" nowrap>계정</td>
        <td class="column">
          <?= form_input('id', old('id', DEFAULTS['EMPTY']), ['tabindex' => 0]) ?>
        </td>
        <td rowspan="2" class="submit">
          <?= form_input([
            'type' => 'image', 'src' => "/images/common/btn_login.png",
            'width' => '57', 'height' => '60', 'tabindex' => 2
          ]) ?>
        </td>
      </tr>
      <tr>
        <td class="label" nowrap>암호</td>
        <td class="column">
          <?= form_password('passwd', old('passwd', DEFAULTS['EMPTY']), ['tabindex' => 1]) ?>
        </td>
      </tr>
      <tr>
        <td colspan="3" class="login_bottom">
          <a href="/front/user/insert">회원가입</a>
          <?php foreach ($viewDatas['login_buttons'] as $key => $login_button) : ?>
            <?= $login_button  ?>
          <?php endforeach ?>
        </td>
      </tr>
    </table>
    <?= form_close(); ?>
  </div>
</div>
<?= $this->endSection() ?>