]> git.decadent.org.uk Git - maypole.git/blobdiff - templates/factory/addnew
A little bit of refactoring and documentation.
[maypole.git] / templates / factory / addnew
index f541e27b995f2a4fb680e7e93100a29b42dda5e3..56e794b095c2fb208327e2fc08b6dd747bd904d3 100644 (file)
@@ -1,3 +1,15 @@
+[%#
+
+=head1 addnew
+
+This is the interface to adding a new instance of an object. (or a new
+row in the database, if you want to look at it that way) It displays a
+form containing a list of HTML components for each of the columns in the
+table.
+
+=cut
+
+#%]
 <h3>Add a new [%classmetadata.moniker%]</h3>
 <FORM METHOD="post" ACTION="[%base%]/[%classmetadata.moniker%]/do_edit/">
     <INPUT TYPE="hidden" NAME="action" VALUE="create">