<?= $this->extend('layouts/admin') ?>
<?= $this->section('content') ?>
<div class="content">
  <?= form_open_multipart(current_url(), $forms['attributes'], $forms['hiddens']) ?>
  <table class="form table table-bordered table-hover table-striped">
    <?php foreach ($fields as $field) : ?>
      <tr>
        <td class="label"><?= getFieldLabel_BoardHelper($field, $fieldRules) ?></td>
        <td class="column">
          <?= getFieldForm_BoardHelper($field, old($field, $entity->$field), $fieldFormOptions) ?>
          <?= validation_show_error($field); ?>
        </td>
      </tr>
    <?php endforeach; ?>
    <tr>
      <td valign="bottom" colspan="2"><?= form_submit('', '수정', array("class" => "btn btn-outline btn-primary")); ?></td>
    </tr>
  </table>
</div>
<?= form_close(); ?>
<?= $this->endSection() ?>