## -*- coding: utf-8 -*- <%inherit file="base/root.mako"/> <%def name="title()"> ${_('Sign In')} %if c.rhodecode_name: · ${h.branding(c.rhodecode_name)} %endif
<%block name="above_login_button" />
${h.form(request.route_path('login', _query={'came_from': c.came_from}), needs_csrf_token=False)} ${h.text('username', class_='focus', value=defaults.get('username'))} %if 'username' in errors: ${errors.get('username')}
%endif ${h.password('password', class_='focus')} %if 'password' in errors: ${errors.get('password')}
%endif ${h.checkbox('remember', value=True, checked=defaults.get('remember'))} %if h.HasPermissionAny('hg.password_reset.enabled')(): %elif h.HasPermissionAny('hg.password_reset.hidden')():

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

%endif ${h.submit('sign_in', _('Sign In'), class_="btn sign-in")}

RhodeCode ${c.rhodecode_edition}

${h.end_form()}
<%block name="below_login_button" />