X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=templates%2Ffactory%2Fedit;h=69ca0d2659d760d2c2def4dd694bdaaf870d5ca7;hb=763567374b3430c726dc2fdfb38362fb960ce1eb;hp=712348a074635240665f574b5185e9e8f98a293f;hpb=36b7502bb586953f62f56a2c6edd3b22c184702d;p=maypole.git diff --git a/templates/factory/edit b/templates/factory/edit index 712348a..69ca0d2 100644 --- a/templates/factory/edit +++ b/templates/factory/edit @@ -1,10 +1,19 @@ +[%# + +=head1 edit + +This is the edit page. It edits the passed-in object, by displaying a +form similar to L but with the current values filled in. + +#%] + [% PROCESS macros %] [% INCLUDE header %] [% FOR item = objects; %]

Edit [% item.name %]

-
+ [% FOR col = classmetadata.columns; NEXT IF col == "id"; @@ -19,3 +28,4 @@ END; ''; END %] +[% INCLUDE footer %]