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

${h.form(h.url('login_home',came_from=h.url.current()), needs_csrf_token=False)}
${h.text('username',class_='focus',tabindex=1)}
${h.link_to(_('(Forgot password?)'),h.url('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.url('register'))} %endif
${h.submit('sign_in',_('Sign In'),class_="btn btn-small",tabindex=3)}
${h.end_form()}