X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fmisc%2Fpart_device-import.html;h=7cf8167dcebcc47b2b2c99f0882d90ceb2bd3b45;hp=7bd640459baf18f4b98f8ae4e506b45c42405e15;hb=f822e27a1e00594332ffa487a1c284234c5580a6;hpb=63a268637b2d51a8766412617724b9436439deb6 diff --git a/httemplate/misc/part_device-import.html b/httemplate/misc/part_device-import.html index 7bd640459..7cf8167dc 100644 --- a/httemplate/misc/part_device-import.html +++ b/httemplate/misc/part_device-import.html @@ -3,15 +3,15 @@ Import a file containing phone device types, one per line.

-<% include( '/elements/form-file_upload.html', - 'name' => 'PartDeviceImportForm', - 'action' => 'process/part_device-import.html', - 'num_files' => 1, - 'fields' => [ 'format', ], - 'message' => 'Device type import successful', - 'url' => $p.'browse/part_device.html', - ) -%> +<& /elements/form-file_upload.html, + 'name' => 'PartDeviceImportForm', + 'action' => 'process/part_device-import.html', + 'num_files' => 1, + 'fields' => [ 'format', ], + 'message' => 'Device type import successful', + 'url' => $p.'browse/part_device.html', + 'onsubmit' => "document.PartDeviceImportForm.submitButton.disabled=true;", +&> <% &ntable("#cccccc", 2) %> @@ -26,9 +26,9 @@ Import a file containing phone device types, one per line.