5 This is the edit page. It edits the passed-in object, by displaying a
6 form similar to L<add_new> but with the current values filled in.
13 [% FOR item = objects; %]
14 <h2> Edit [% item.name %]</h2>
16 <FORM ACTION="[% base %]/[% item.table %]/do_edit/[% item.id %]" METHOD="post">
18 FOR col = classmetadata.columns;
21 "<B>"; classmetadata.colnames.$col; "</B>";
23 item.to_field(col).as_HTML;
26 "<FONT COLOR=\"#ff0000\">"; errors.$col; "</FONT>";
29 '<INPUT TYPE="submit" NAME="edit" VALUE="edit">';