<table width="100%" cellspacing="0" border="0" class="adminform">
  <tr>
    <th>父资源</th>
  </tr>
  <tr>
    <td><select name="acl[acl_parent_id]">
        <option value="0">模块</option>
        <?php foreach($aclTree as $tmp){?>
        <option value="<?=$tmp['acl_id']?>" <?php if($aclData->acl_parent_id==$tmp['acl_id']){?>selected<?php }?>>
        <?=$tmp['acl_name']?>
        <?php }?>
      </select>
    </td>
  </tr>
  <tr>
    <th>资源名称</th>
  </tr>
  <tr>
    <td><input type="text" name="acl[acl_name]" class="text" value="<?=$aclData->acl_name?>" dataType='Require' msg='资源名称不能为空' /></td>
  </tr>
  <tr>
    <th>资源标识（control+action）</th>
  </tr>
  <tr>
    <td><input type="text" name="acl[acl_value]" class="text" value="<?=$aclData->acl_value?>"  dataType='Custom' regexp='[a-z_]+' msg='资源标识不能为空,只能为英文'/></td>
  </tr>
  <tr>
    <th>子方法（用"|"分隔方法）</th>
  </tr>
  <tr>
    <td><input type="text" name="acl[acl_children]" class="text" value="<?=$aclData->acl_children?>"  />
  </tr>
  <tr>
    <th>资源描述</th>
  </tr>
  <tr>
    <td><input type="text" name="acl[acl_description]" class="text" value="<?=$aclData->acl_description?>" /></td>
  </tr>
  <tfoot>
  <tr>
  	<td><input type="submit" name="submit" value="提交" class="submit" /></td>
  </tr>
  </tfoot>
</table>
<input type="hidden" name="acl_id" value="<?=$aclData->acl_id?>" />