href is to "", not "#" since the latter causes the browser to scroll
[irspy-moved-to-github.git] / web / htdocs / edit.html
index 05f7aa6..722b5ab 100644 (file)
@@ -1,8 +1,8 @@
-%# $Id: edit.html,v 1.3 2006-11-15 17:43:50 mike Exp $
+%# $Id: edit.html,v 1.5 2006-11-29 16:05:26 mike Exp $
 <%args>
+$op
 $id => undef
 </%args>
 <& /chrome/layout.mc, %ARGS,
-    title => ($r->param("copy") ? "Copy" : defined $id ? "Edit" : "New") .
-       " target record",
+    title => ucfirst($op) . " target record",
     component => "/details/edit.mc" &>