]> git.decadent.org.uk Git - maypole.git/blob - templates/factory/addnew
Here are the templates!
[maypole.git] / templates / factory / addnew
1 <h3>Add a new [%classmetadata.moniker%]</h3>
2 <FORM METHOD="post" ACTION="[%base%]/[%classmetadata.moniker%]/do_edit/">
3     <INPUT TYPE="hidden" NAME="action" VALUE="create">
4     <INPUT TYPE="hidden" NAME="class" VALUE="[%classmetadata.name%]">
5      [% FOR col = classmetadata.columns;
6         NEXT IF col == "id";
7         "<b>";classmetadata.colnames.$col;"</b> : "; 
8     classmetadata.cgi.$col.as_HTML;
9         %]
10     <BR>
11     [% END; %]
12     <INPUT TYPE="submit" NAME="create" VALUE="create">
13 </FORM>