X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=templates%2Ffactory%2Faddnew;h=f530bc99383105fa608e453fe43375ae4c6af986;hb=d2c852208417c014caec0436a677fcadccc197d8;hp=a6027ce2de4ddbd71731f0886526cfa6bd1ac7ca;hpb=52d254200d32b47402461d325c2836c35af99201;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; %]