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 <form id="createform" method="post" action="[% base %]/[% classmetadata.table %]/do_edit/">
15 <legend>Add a new [% classmetadata.moniker %]</legend>
16 [% FOR col = classmetadata.columns %]
17 [% NEXT IF col == "id" %]
18 <label><span class="field">[% classmetadata.colnames.$col %]</span>
19 [% classmetadata.cgi.$col.as_XML; %]
22 <input type="submit" name="create" value="create"/>