Show More
@@ -297,7 +297,7 b'' | |||||
297 | <div id="quick_login"> |
|
297 | <div id="quick_login"> | |
298 | %if c.rhodecode_user.username == h.DEFAULT_USER: |
|
298 | %if c.rhodecode_user.username == h.DEFAULT_USER: | |
299 | <h4>${_('Sign in to your account')}</h4> |
|
299 | <h4>${_('Sign in to your account')}</h4> | |
300 |
${h.form(h. |
|
300 | ${h.form(h.route_path('login', _query={'came_from': h.url.current()}), needs_csrf_token=False)} | |
301 | <div class="form form-vertical"> |
|
301 | <div class="form form-vertical"> | |
302 | <div class="fields"> |
|
302 | <div class="fields"> | |
303 | <div class="field"> |
|
303 | <div class="field"> | |
@@ -312,7 +312,7 b'' | |||||
312 | <div class="field"> |
|
312 | <div class="field"> | |
313 | <div class="label"> |
|
313 | <div class="label"> | |
314 | <label for="password">${_('Password')}:</label> |
|
314 | <label for="password">${_('Password')}:</label> | |
315 |
<span class="forgot_password">${h.link_to(_('(Forgot password?)'),h. |
|
315 | <span class="forgot_password">${h.link_to(_('(Forgot password?)'),h.route_path('reset_password'))}</span> | |
316 | </div> |
|
316 | </div> | |
317 | <div class="input"> |
|
317 | <div class="input"> | |
318 | ${h.password('password',class_='focus',tabindex=2)} |
|
318 | ${h.password('password',class_='focus',tabindex=2)} | |
@@ -321,7 +321,7 b'' | |||||
321 | <div class="buttons"> |
|
321 | <div class="buttons"> | |
322 | <div class="register"> |
|
322 | <div class="register"> | |
323 | %if h.HasPermissionAny('hg.admin', 'hg.register.auto_activate', 'hg.register.manual_activate')(): |
|
323 | %if h.HasPermissionAny('hg.admin', 'hg.register.auto_activate', 'hg.register.manual_activate')(): | |
324 |
${h.link_to(_("Don't have an account ?"),h. |
|
324 | ${h.link_to(_("Don't have an account ?"),h.route_path('register'))} | |
325 | %endif |
|
325 | %endif | |
326 | </div> |
|
326 | </div> | |
327 | <div class="submit"> |
|
327 | <div class="submit"> | |
@@ -341,7 +341,7 b'' | |||||
341 | <ol class="links"> |
|
341 | <ol class="links"> | |
342 | <li>${h.link_to(_(u'My account'),h.url('my_account'))}</li> |
|
342 | <li>${h.link_to(_(u'My account'),h.url('my_account'))}</li> | |
343 | <li class="logout"> |
|
343 | <li class="logout"> | |
344 |
${h.secure_form(h. |
|
344 | ${h.secure_form(h.route_path('logout'))} | |
345 | ${h.submit('log_out', _(u'Sign Out'),class_="btn btn-primary")} |
|
345 | ${h.submit('log_out', _(u'Sign Out'),class_="btn btn-primary")} | |
346 | ${h.end_form()} |
|
346 | ${h.end_form()} | |
347 | </li> |
|
347 | </li> |
General Comments 0
You need to be logged in to leave comments.
Login now