<form id="uiform">
  <table class="grid">
    #set($columns = $options.getcolumninfo())
    #foreach($item in $columns)
    #if($item.ispk)
    #else
    <tr>
      <td>$item.coldescription：</td>
      <td>
        <input type="text" id="$item.columnname" name="$item.columnname" class="txt03 #if($item.isnull) #else required #end #if($item.typename == "decimal") number #elseif($item.typename == "int") digits #elseif($item.typename == "datetime") dateISO #else #end" />
      </td>
    </tr>
    #end
    #end
  </table>
</form>