Mercurial > p > roundup > code
diff templates/minimal/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 | 61d48244e7a8 |
line wrap: on
line diff
--- a/templates/minimal/html/page.html Fri Oct 07 04:42:13 2005 +0000 +++ b/templates/minimal/html/page.html Fri Oct 07 04:49:48 2005 +0000 @@ -42,6 +42,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"> + <input type="hidden" name="__came_from" tal:attributes="value string:${request/base}${request/env/PATH_INFO}"> <span tal:replace="structure request/indexargs_form" /> </form> <a tal:condition="python:request.user.hasPermission('Web Registration')"
