Mercurial > p > roundup > code
diff templates/classic/html/page.html @ 3418:9b8019f28158
remember where we came from when logging in (patch [SF#1312889])
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Fri, 07 Oct 2005 04:49:48 +0000 |
| parents | bd6ba21d6c47 |
| children | f16eca38e4e5 |
line wrap: on
line diff
--- a/templates/classic/html/page.html Fri Oct 07 04:42:13 2005 +0000 +++ b/templates/classic/html/page.html Fri Oct 07 04:49:48 2005 +0000 @@ -101,6 +101,7 @@ <input size="10" type="password" name="__login_password"><br> <input type="hidden" name="@action" value="Login"> <input type="submit" value="Login" i18n:attributes="value"><br> + <input type="hidden" name="__came_from" tal:attributes="value string:${request/base}${request/env/PATH_INFO}"> <span tal:replace="structure request/indexargs_form" /> <a href="user?@template=register" tal:condition="python:request.user.hasPermission('Create', 'user')"
