-%# $Id: edit.html,v 1.1 2006-10-20 16:57:40 mike Exp $
-<& /chrome/layout.mc, %ARGS, title => "Edit target record",
+%# $Id: edit.html,v 1.4 2006-11-29 14:57:31 mike Exp $
+<%args>
+$id => undef
+$copy => undef
+</%args>
+<& /chrome/layout.mc, %ARGS,
+ title => (!defined $id ? "New" : $copy ? "Copy" : "Edit") .
+ " target record",
component => "/details/edit.mc" &>