${_('Sign in to your account')}

${h.form(h.route_path('login'), needs_csrf_token=False)}
${h.text('username',class_='focus',tabindex=1)}
${h.link_to(_('(Forgot password?)'),h.route_path('reset_password'))}
${h.password('password',class_='focus',tabindex=2)}
%if h.HasPermissionAny('hg.admin', 'hg.register.auto_activate', 'hg.register.manual_activate')(): ${h.link_to(_("Don't have an account ?"),h.route_path('register'))} %endif
${h.submit('sign_in',_('Sign In'),class_="btn btn-small",tabindex=3)}
${h.end_form()}