-%# $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.3 2006-11-15 17:43:50 mike Exp $
+<%args>
+$id => undef
+</%args>
+<& /chrome/layout.mc, %ARGS,
+ title => ($r->param("copy") ? "Copy" : defined $id ? "Edit" : "New") .
+ " target record",
component => "/details/edit.mc" &>