<TABLE BORDER=2>
  <TR>
    <TH>Fields</TH>
    <TH>Type</TH>
    <TH>Function</TH>
    <TH>Value</TH>
    <%if insert_null%><th>Null</th><%endif%>
  </TR>
  <%loop insert_fields%>
  <tr>
    <td><%field%></td>
    <td><%type%></td>
    <td><%function_select%></td>
    <%if type eq 'enum%>
    <td><select name="*insert*_<%field%>"><%enum_select_options%></select></td>
    <%elseif type eq 'set'%>
    <td><%loop set_options%>
      <input type="checkbox" name="*insert*_<%field%>_set_<%num%>" value="<%value%>"<%if checked%> checked<%endif%>><%value%><br>
      <%endloop%>
    </td>
    <%elsif type like blob or type like text%> 
    <td><textarea name="*insert*_<%field%>" rows="5" cols="30" wrap="virtual"><%value%></textarea></td>
    <%else%>
    <td><input type="text" name="*insert*_<%field%>" value="<%value%>" size="30"></td>
    <%endif%>
    <%if insert_null%>
    <td><%if nullable%><input type="checkbox" name="*insert*_<%field%>_null" value="NULL"<%if null%> checked<%endif%>><%else%>&nbsp;<%endif%></td>
    <%endif%>
  </tr>
  <%endloop%>
</table>

