Tweak
[irspy-moved-to-github.git] / web / htdocs / edit.html
index 94c2f25..722b5ab 100644 (file)
@@ -1,9 +1,8 @@
-%# $Id: edit.html,v 1.4 2006-11-29 14:57:31 mike Exp $
+%# $Id: edit.html,v 1.5 2006-11-29 16:05:26 mike Exp $
 <%args>
+$op
 $id => undef
-$copy => undef
 </%args>
 <& /chrome/layout.mc, %ARGS,
-    title => (!defined $id ? "New" : $copy ? "Copy" : "Edit") .
-       " target record",
+    title => ucfirst($op) . " target record",
     component => "/details/edit.mc" &>