=head1 edit
This is the edit page. It edits the passed-in object, by displaying a
-form similar to L<add_new> but with the current values filled in.
+form similar to L<addnew> but with the current values filled in.
=cut
#%]
[% PROCESS macros %]
[% INCLUDE header %]
+[% INCLUDE title %]
+[% IF objects.length %]
+<div id="title">Edit a [% classmetadata.moniker %]</div>
[% FOR item = objects; %]
<form action="[% base %]/[% item.table %]/do_edit/[% item.id %]" method="post">
<fieldset>
"</fieldset></form>";
END %]
-
+[% ELSE %]
+[% INCLUDE addnew %]
+[% END %]
[% INCLUDE footer %]