Revert "RT#41671 Fix double click prevention for all legacy buttons [renamed all...
[freeside.git] / httemplate / edit / rate.cgi
index 1b052d6..57a472e 100644 (file)
@@ -1,7 +1,11 @@
-<% include("/elements/header.html","$action Rate plan", menubar(
+<& /elements/header.html,
+  "$action Rate plan",
+  menubar(
       'View all rate plans' => "${p}browse/rate.cgi",
-    ))
-%>
+      'View packages that use this plan' => "${p}browse/part_pkg.cgi?ratenum="
+                                            . $rate->ratenum,
+  )
+&>
 
 <% include('/elements/progress-init.html',
               'OneTrueForm',
@@ -27,9 +31,9 @@
 </TABLE>
 <BR>
 
-<INPUT NAME="submit" TYPE="button" VALUE="<% 
+<INPUT NAME="submitButton" TYPE="button" VALUE="<% 
   $rate->ratenum ? "Apply changes" : "Add rate plan"
-%>" onClick="document.OneTrueForm.submit.disabled=true; process();">
+%>" onClick="document.OneTrueForm.submitButton.disabled=true; process();">
 </FORM>
 
 % if($rate->ratenum) {