summaryrefslogtreecommitdiff
path: root/httemplate/misc/rate-import.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/misc/rate-import.html')
-rw-r--r--httemplate/misc/rate-import.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/httemplate/misc/rate-import.html b/httemplate/misc/rate-import.html
index ae8ee695b..538418d13 100644
--- a/httemplate/misc/rate-import.html
+++ b/httemplate/misc/rate-import.html
@@ -1,14 +1,14 @@
<% include("/elements/header.html",'Import Rate Plan') %>
-<% include( '/elements/form-file_upload.html',
- 'name' => 'RateImportForm',
- 'action ' => 'process/rate-import.html',
- 'num_files' => 1,
- 'fields' => [ 'ratename' ],
- 'message' => 'Rate plan import successful',
-# 'url' => $p."browse/rate_detail.cgi?ratenum=$ratenum", #XXX how?
- )
-%>
+<& /elements/form-file_upload.html,
+ 'name' => 'RateImportForm',
+ 'action ' => 'process/rate-import.html',
+ 'num_files' => 1,
+ 'fields' => [ 'ratename' ],
+ 'message' => 'Rate plan import successful',
+ #'url' => $p."browse/rate_detail.cgi?ratenum=$ratenum", #XXX how?
+ 'onsubmit' => "document.RateImportForm.submitButton.disabled=true;",
+&>
<% &ntable("#cccccc", 2) %>
@@ -28,9 +28,9 @@
<TR>
<TD COLSPAN=2 ALIGN="center" STYLE="padding-top:6px">
<INPUT TYPE = "submit"
- ID = "submit"
+ ID = "submitButton"
+ NAME = "submitButton"
VALUE = "Import rate plan"
- onClick = "document.RateImportForm.submit.disabled=true;"
>
</TD>
</TR>