<?php
/**
 * The edit view file of lieu module of ZDOO.
 *
 * @copyright   Copyright 2009-2018 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
 * @license     ZPL (http://zpl.pub/page/zplv12.html)
 * @author      Tingting Dai <daitingting@xirangit.com>
 * @package     lieu
 * @version     $Id$
 * @link        http://www.zdoo.com
 */
?>
<?php include '../../../sys/common/view/header.modal.html.php';?>
<?php js::set('lieuID', $lieu->id)?>
<form id='ajaxForm' method='post' action="<?php echo $this->createLink('oa.lieu', 'edit', "id=$lieu->id")?>">
  <table class='table table-form'>
    <tr>
      <th class='w-60px'><?php echo $lang->lieu->begin?></th>
      <td colspan='2'>
        <div class='input-group'>
          <span class='input-group-addon'><?php echo $lang->lieu->date;?></span>
          <?php echo html::input('begin', $lieu->begin, "class='form-control form-date date-picker-down'")?>
          <span class='input-group-addon '><?php echo $lang->lieu->time;?></span>
          <?php echo html::input('start', $lieu->start, "class='form-control form-time date-picker-down'")?>
        </div>
      </td>
      <td class='w-10px'></td>
    </tr>
    <tr>
      <th><?php echo $lang->lieu->end?></th>
      <td colspan='2'>
        <div class='input-group'>
          <span class='input-group-addon'><?php echo $lang->lieu->date;?></span>
          <?php echo html::input('end', $lieu->end, "class='form-control form-date date-picker-down'")?>
          <span class='input-group-addon '><?php echo $lang->lieu->time;?></span>
          <?php echo html::input('finish', $lieu->finish, "class='form-control form-time date-picker-down'")?>
        </div>
      </td>
      <td></td>
    </tr>
    <tr>
      <th><?php echo $lang->lieu->hours;?></th>
      <td><?php echo html::input('hours', $lieu->hours, "class='form-control' readonly")?></td>
      <td class='text-important text-margin-left balanceTip'></td>
      <td></td>
    </tr>
    <tr>
      <th><?php echo $lang->lieu->desc;?></th>
      <td colspan='2'><?php echo html::textarea('desc', $lieu->desc, "class='form-control'")?></td>
      <td></td>
    </tr>
    <tr>
      <th></th>
      <td class='form-actions'><?php echo html::submitButton();?></td>
      <td></td>
      <td></td>
    </tr>
  </table>
</form>
<?php include '../../../sys/common/view/footer.modal.html.php';?>
