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

${_('Password reset has been disabled.')}

%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