<?php use_helper('Object', 'tvtl', 'Validation', 'ModalBox') ?>
<?php echo form_tag('/entry/check', array('id'=>'checkform')) ?>
  <?php echo input_hidden_tag('entry_id', $tblblogentry->getEntryId()) ?>
  <?php echo input_hidden_tag('status', 2) ?>
  <div class="entry">
    <h2>Lý do không duyệt tài liệu</h2>
    <div class="content">
      <div class="span-2">Tài liệu</div><?php echo $tblblogentry->getObject()->getName() ?><br>
      <div class="span-2">Người gửi</div><?php echo $tblblogentry->getTbluser()->getUsFullname() ?><br>
      <?php echo form_error('reason') ?>
      <div class="span-2">Các lý do:</div><br>
      <?php foreach (sfConfig::get('app_entry_approve') as $approve): ?>
        <div class="span-2">&nbsp;</div><?php echo checkbox_tag('content[]', $approve).' '.$approve ?><br>
      <?php endforeach ?>
      <div class="span-2">Ý kiến khác</div><?php echo textarea_tag('othercontent', '', array('style'=>'width:320px')) ?><br>
      <div style="height:10px"></div>
      <div class="span-2">&nbsp;</div><?php echo m_submit_tag('Đồng ý').'&nbsp;&nbsp;'.m_finish('Thoát') ?>
    </div>
  </div>
</form>
