Show More
@@ -297,7 +297,7 b'' | |||
|
297 | 297 | <div id="quick_login"> |
|
298 | 298 | %if c.rhodecode_user.username == h.DEFAULT_USER: |
|
299 | 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 | 301 | <div class="form form-vertical"> |
|
302 | 302 | <div class="fields"> |
|
303 | 303 | <div class="field"> |
@@ -312,7 +312,7 b'' | |||
|
312 | 312 | <div class="field"> |
|
313 | 313 | <div class="label"> |
|
314 | 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 | 316 | </div> |
|
317 | 317 | <div class="input"> |
|
318 | 318 | ${h.password('password',class_='focus',tabindex=2)} |
@@ -321,7 +321,7 b'' | |||
|
321 | 321 | <div class="buttons"> |
|
322 | 322 | <div class="register"> |
|
323 | 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 | 325 | %endif |
|
326 | 326 | </div> |
|
327 | 327 | <div class="submit"> |
@@ -341,7 +341,7 b'' | |||
|
341 | 341 | <ol class="links"> |
|
342 | 342 | <li>${h.link_to(_(u'My account'),h.url('my_account'))}</li> |
|
343 | 343 | <li class="logout"> |
|
344 |
${h.secure_form(h. |
|
|
344 | ${h.secure_form(h.route_path('logout'))} | |
|
345 | 345 | ${h.submit('log_out', _(u'Sign Out'),class_="btn btn-primary")} |
|
346 | 346 | ${h.end_form()} |
|
347 | 347 | </li> |
General Comments 0
You need to be logged in to leave comments.
Login now