From 80886fbf16b6350ec0ef7f1c5523c77426a2db1a Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 14 Nov 2006 14:55:28 +0000 Subject: [PATCH] Title different when use for adding new records. --- web/htdocs/edit.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/web/htdocs/edit.html b/web/htdocs/edit.html index 7f9ebc6..8af5c84 100644 --- a/web/htdocs/edit.html +++ b/web/htdocs/edit.html @@ -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 + +<& /chrome/layout.mc, %ARGS, + title => (defined $id ? "Edit" : "New") . " target record", component => "/details/edit.mc" &> -- 1.7.10.4