% layout 'default', title => "User password"; % content_for 'module' => begin
%= dumper $c->current_route %= dumper $pwd_datas
% }% my $btn = l('pwd_PASSWORD_CHANGE'); % my $url = '/userpassword'; %= $c->render_to_string( inline => l('pwd_DESCRIPTION')); % if ( $pwd_datas->{trt} eq 'RESET' ) { % $btn = l('pwd_PASSWORD_RESET'); % $url = '/userpasswordr'; %= $c->render_to_string( inline => l('pwd_DESCRIPTION_RESET')); % }
%= form_for $url => (method => 'POST') => begin
%= l 'pwd_YOUR_ACCOUNT'
%= $pwd_datas->{Account}
%= hidden_field 'User' => $pwd_datas->{Account}
%= hidden_field 'Trt' => $pwd_datas->{trt}
%= hidden_field 'jwt' => $pwd_datas->{jwt}
%= l 'pwd_PASSWORD_OLD'
%= password_field 'Oldpass', class => 'input'
%=l 'pwd_PASSWORD_NEW'
%= password_field 'Pass', class => 'input'
%=l 'pwd_PASSWORD_VERIFY_NEW'
%= password_field 'Passverify', class => 'input'