X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=templates%2Ffactory%2Faddnew;h=aec9fca13c86370ee173ef48aca8811d92106eb5;hb=ce69977fefb29ec45af867cdbfa854eabdd2d3b4;hp=a6027ce2de4ddbd71731f0886526cfa6bd1ac7ca;hpb=52d254200d32b47402461d325c2836c35af99201;p=maypole.git diff --git a/templates/factory/addnew b/templates/factory/addnew index a6027ce..aec9fca 100644 --- a/templates/factory/addnew +++ b/templates/factory/addnew @@ -18,10 +18,24 @@ table. [% FOR col = classmetadata.columns %] [% NEXT IF col == "id" %] + [% IF errors.$col %] + [% errors.$col %] + [% END %] + [% END; %] +