X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=lib%2FMaypole%2Ftemplates%2Ffactory%2Fedit;fp=lib%2FMaypole%2Ftemplates%2Ffactory%2Fedit;h=14f77be3c172e46eaa3233ee31339bf6d6cd230e;hb=1194fb590c7566bf936be64155db24275e263ff6;hp=77dfa3a492fcaee3201ad112c9d792de4420917b;hpb=e7f319a9e935411f945702295a6622da5fe50ffe;p=maypole.git diff --git a/lib/Maypole/templates/factory/edit b/lib/Maypole/templates/factory/edit index 77dfa3a..14f77be 100644 --- a/lib/Maypole/templates/factory/edit +++ b/lib/Maypole/templates/factory/edit @@ -38,6 +38,35 @@ form similar to L but with the current values filled in. [% END %] [% ELSE %] -[% INCLUDE addnew %] + +
+
+
+Add a new [% classmetadata.moniker %] + [% FOR col = classmetadata.columns %] + [% NEXT IF col == "id" %] + + [% IF errors.$col %] + [% errors.$col | html %] + [% END %] + + [% END; %] + + +
+
+
+ [% END %] [% INCLUDE footer %]