(<% emt( $change_title ) %>)
<% $change_id_input %> <& /elements/random_pass.html, $pre.'password', 'randomize' &>
<& '/elements/validate_password.html', 'fieldid' => $pre.'password', 'svcnum' => $svcnum, 'contactnum' => $contactnum, &> % if ( $error ) {
<% $error |h %> % }
<%init> my %opt = @_; my $contactnum = $opt{'contact_num'}; my $curr_value = $opt{'curr_value'} || ''; my $change_title = $opt{'label'} || 'change'; my $svcnum; my $change_id_input = ''; my $pre = 'changepw'; if ($opt{'svc_acct'}) { my $svc_acct = $opt{'svc_acct'}; $change_id_input = ''; $pre .= $svc_acct->svcnum . '_'; $svcnum = $svc_acct->svcnum; } elsif ($opt{'contact_num'}) { $change_id_input = ' '; $pre .= $opt{'contact_num'} . '_'; } my $error = $cgi->param($pre.'error');