<%inherit file="base/root.mako"/> <%def name="title()"> ${_('Verify Code')} %if c.rhodecode_name: · ${h.branding(c.rhodecode_name)} %endif
${h.form(request.route_path(verify_route), needs_csrf_token=False)} ${h.text('otp', class_='focus', inputmode='numeric', autocomplete='one-time-code', maxlength=str(otp_digits), value=defaults.get('otp', ''))} %if 'otp' in errors: ${errors.get('otp')}
%endif

${_('Check your email for the verification code. It expires in 5 minutes.')}

${h.submit('verify', _('Verify'), class_="btn sign-in")} ${h.end_form()}