Title different when use for adding new records.
[irspy-moved-to-github.git] / web / htdocs / edit.html
index 7f9ebc6..8af5c84 100644 (file)
@@ -1,3 +1,7 @@
-%# $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.2 2006-11-14 14:55:28 mike Exp $
+<%args>
+$id => undef
+</%args>
+<& /chrome/layout.mc, %ARGS,
+    title => (defined $id ? "Edit" : "New") . " target record",
     component => "/details/edit.mc" &>