X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fcontact.html;h=308b846bcea9e28bfd87049fa427174a1e73f775;hb=474e879c6c47d23aa155d6f4b9c7a51b8badf8d9;hp=7b6c853d4ca618fd632dd23b762d0315e3acba1b;hpb=5e2b0a5efb81642e86f7704a528767c2ea2961ca;p=freeside.git
diff --git a/httemplate/elements/contact.html b/httemplate/elements/contact.html
index 7b6c853d4..308b846bc 100644
--- a/httemplate/elements/contact.html
+++ b/httemplate/elements/contact.html
@@ -1,4 +1,6 @@
-% unless ( $opt{'js_only'} ) {
+% if ( $opt{'js_only'} ) {
+<% $js %>
+% } else {
@@ -75,25 +77,8 @@
VALUE = ""
placeholder = "<% $value |h %>"
>
-% my $contactnum = $curr_value ? $curr_value : '0';
- <& '/elements/validate_password.html',
- 'fieldid' => "changepw".$id."_password",
- 'svcnum' => '',
- 'contactnum' => $contactnum,
- 'submitid' => "submit",
- &>
-
-
% } elsif ( $field eq 'invoice_dest' || $field eq 'message_dest' ) {
% my $curr_value = $cgi->param($name . '_' . $field);
@@ -118,7 +103,7 @@
<% $label{$field} %>
% if ( $field eq 'password' ) {
-