5 This is the interface to adding a new instance of an object. (or a new
6 row in the database, if you want to look at it that way) It displays a
7 form containing a list of HTML components for each of the columns in the
13 <h3>Add a new [% classmetadata.moniker %]</h3>
14 <form method="post" action="[% base %]/[% classmetadata.table %]/do_edit/">
15 <input type="hidden" name="action" value="create"/>
17 [% FOR col = classmetadata.columns %]
18 [% NEXT IF col == "id" %]
20 <td>[% classmetadata.colnames.$col %]</td>
21 <td>[% classmetadata.cgi.$col.as_HTML; %]</td>
25 <input type="submit" name="create" value="create"/>