##// END OF EJS Templates
authn: Generate the form default values manually....
authn: Generate the form default values manually. When using colander.flatten(data) it adds colander.null for each missing form field. But this is not correct. What we want here is a dict wich contains only the keys/values from request.params that match a form field.

File last commit:

r1:854a839a default
r291:3526ca25 default
Show More
password_reset_confirmation.mako
21 lines | 518 B | application/x-mako | MakoHtmlLexer
/ rhodecode / templates / email_templates / password_reset_confirmation.mako
project: added all source files and assets
r1 ## -*- coding: utf-8 -*-
<%inherit file="base.mako"/>
<%def name="subject()" filter="n,trim">
Your new RhodeCode password
</%def>
## plain text version of the email. Empty by default
<%def name="body_plaintext()" filter="n,trim">
Hi ${user.username},
Below is your new access password for RhodeCode.
password: ${new_password}
*If you didn't request a new password, please contact your RhodeCode administrator immediately.*
</%def>
## BODY GOES BELOW
<div style="white-space: pre-wrap">
${body_plaintext()}
</div>