X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fcontact.html;h=779905234381c54dd209e8ce822fd80bd97f9eb7;hb=6016bc83d369186275044bd8539f66a3cb03c4cb;hp=ec4916dfabeac658ee6f9b7888437c63b1ed2e54;hpb=ac07dfa491181046e8dd2881d6093da9e8d3616f;p=freeside.git diff --git a/httemplate/elements/contact.html b/httemplate/elements/contact.html index ec4916dfa..779905234 100644 --- a/httemplate/elements/contact.html +++ b/httemplate/elements/contact.html @@ -72,6 +72,22 @@ <% $label{$field} %> % } +% my $pwd_change_label = 'change password'; +% $pwd_change_label = 'setup password' unless $contact->_password; +% if ($curr_value) { + + + <& /elements/change_password.html, + 'contact_num' => $curr_value, + 'custnum' => $opt{'custnum'}, + 'curr_value' => '', + 'label' => $pwd_change_label, + &> + +
+ Password + +% }