diff --git a/rhodecode/templates/password_reset.html b/rhodecode/templates/password_reset.html --- a/rhodecode/templates/password_reset.html +++ b/rhodecode/templates/password_reset.html @@ -2,13 +2,34 @@ <%inherit file="base/root.html"/> <%def name="title()"> - ${_('Password Reset')} · ${c.rhodecode_name} + ${_('Password Reset')} + %if c.rhodecode_name: + · ${c.rhodecode_name} + %endif + + +
- -
-
${_('Reset your password to')} ${c.rhodecode_name}
+ <%include file="/base/flash_msg.html"/> +
${h.form(url('password_reset'))} @@ -18,26 +39,48 @@
- +
${h.text('email')}
+ %if c.captcha_active: +
+
+ +
+
+ ${h.hidden('recaptcha_field')} +
+
+
+ %endif +
- ${h.submit('send',_('Reset my password'),class_="ui-btn large")} + ${h.submit('send',_('Send password reset email'),class_="btn")}
${_('Password reset link will be send to matching email address')}
${h.end_form()} + %if c.captcha_active: + + %endif