Mercurial > p > roundup > code
diff templates/minimal/html/page.html @ 2465:90c5a7fdf0a4
action name must not depend on the button caption
| author | Alexander Smishlajev <a1s@users.sourceforge.net> |
|---|---|
| date | Tue, 15 Jun 2004 09:12:29 +0000 |
| parents | 7fed5ef86811 |
| children | 3421166e9d86 |
line wrap: on
line diff
--- a/templates/minimal/html/page.html Tue Jun 15 08:17:14 2004 +0000 +++ b/templates/minimal/html/page.html Tue Jun 15 09:12:29 2004 +0000 @@ -26,7 +26,8 @@ <form method="POST" action=""> <input size="10" name="__login_name"><br> <input size="10" type="password" name="__login_password"><br> - <input type="submit" name="@action" value="Login" i18n:attributes="value"> + <input type="hidden" name="@action" value="Login"> + <input type="submit" value="Login" i18n:attributes="value"> <span tal:replace="structure request/indexargs_form" /> </form> <a tal:condition="python:request.user.hasPermission('Web Registration')"
