## -*- coding: utf-8 -*- <%inherit file="base/root.mako"/> <%def name="title()"> ${_('Reset Password')} %if c.rhodecode_name: · ${h.branding(c.rhodecode_name)} %endif
%if h.HasPermissionAny('hg.password_reset.disabled')():

${_('Password reset is disabled. Please contact ')} % if c.visual.rhodecode_support_url: ${_('Support')} ${_('or')} % endif ${_('an administrator if you need help.')}

%else:
${h.form(request.route_path('reset_password'), needs_csrf_token=False)} ${h.text('email', defaults.get('email'))} %if 'email' in errors: ${errors.get('email')}
%endif %if captcha_active: %endif ${h.submit('send', _('Send password reset email'), class_="btn sign-in")}
${_('Password reset link will be sent to matching email address')}
${h.end_form()}
%endif
%if captcha_active: %endif