Code

Add "action" attributes to forms.
authorjlgijsbers <jlgijsbers@57a73879-2fb5-44c3-a270-3262357dd7e2>
Mon, 20 Oct 2003 21:00:04 +0000 (21:00 +0000)
committerjlgijsbers <jlgijsbers@57a73879-2fb5-44c3-a270-3262357dd7e2>
Mon, 20 Oct 2003 21:00:04 +0000 (21:00 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1924 57a73879-2fb5-44c3-a270-3262357dd7e2

templates/classic/html/page.html

index 8e5d3cf34e17d44a8cb7901aaca26f8d9b541084..33c22b4dded9f667c247859a7fc1755378bbc61f 100644 (file)
@@ -31,7 +31,7 @@
    </tal:block>
   </p>
 
-  <form method="POST">
+  <form method="POST" tal:attributes="action request/base">
    <p class="classblock"
        tal:condition="python:request.user.hasPermission('View', 'issue')">
     <b>Issues</b><br>
@@ -69,7 +69,8 @@
       href="user?:template=item">Add User</a>
   </p>
 
-  <form method="POST" tal:condition="python:request.user.username=='anonymous'">
+  <form method="POST" tal:condition="python:request.user.username=='anonymous'"
+        tal:attributes="action request/base">
    <p class="userblock">
     <b>Login</b><br>
     <input size="10" name="__login_name"><br>