X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=templates%2Ffactory%2Faddnew;fp=templates%2Ffactory%2Faddnew;h=f530bc99383105fa608e453fe43375ae4c6af986;hb=d2c852208417c014caec0436a677fcadccc197d8;hp=a6027ce2de4ddbd71731f0886526cfa6bd1ac7ca;hpb=05b8c530848b1b7bada1e39ceb8325eb688c35d0;p=maypole.git
diff --git a/templates/factory/addnew b/templates/factory/addnew
index a6027ce..f530bc9 100644
--- a/templates/factory/addnew
+++ b/templates/factory/addnew
@@ -18,8 +18,19 @@ table.
[% FOR col = classmetadata.columns %]
[% NEXT IF col == "id" %]
+ [% IF errors.$col %]
+ [% errors.$col %]
+ [% END %]
+
[% END; %]