Code

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

templates/classic/html/_generic.help.html
templates/classic/html/_generic.index.html
templates/classic/html/_generic.item.html
templates/classic/html/file.item.html
templates/classic/html/keyword.item.html
templates/classic/html/user.forgotten.html
templates/classic/html/user.item.html
templates/classic/html/user.register.html

index 7c324f334f6fabef0f89d9499d04daea977c7725..518424e44fb9bd7924fff1da8056fdae69bb5bf2 100644 (file)
@@ -15,7 +15,7 @@
       </tal:block>
   </head>
  <body class="body" onload="resetList();">
- <form name="frm_help" action=""
+ <form name="frm_help" tal:attributes="action request/base"
        tal:define="start python:int(request.form[':startwith'].value);
                    batch python:utils.Batch(context.list(), 500, start);
                    props python:request.form['properties'].value.split(',')">
index f21b5d2b700fc6ec0dda2d93e3b22db232c1f60b..abf8b162e6220123cd227ddb4c9686df896b1a8a 100644 (file)
@@ -31,7 +31,8 @@ You are not allowed to view this page.
  them to the table - put an X in the id column.
 </p>
 
-<form onSubmit="return submit_once()" method="POST">
+<form onSubmit="return submit_once()" method="POST"
+      tal:attributes="action context/designator">
 <textarea rows="15" cols="60" name="rows" tal:content="context/csv"></textarea>
 <br>
 <input type="hidden" name=":action" value="editCSV">
index a9d2e859f4a6aa7bc905c91f97b925493560e5d9..7d331273a3fa2799538aaca7337ebb635c576d62 100644 (file)
@@ -11,7 +11,8 @@ You are not allowed to view this page.
 </span>
 
 <form method="POST" onSubmit="return submit_once()"
-      enctype="multipart/form-data" tal:condition="context/is_edit_ok">
+      enctype="multipart/form-data" tal:condition="context/is_edit_ok"
+      tal:attributes="action context/designator">
 
 <input type="hidden" name=":template" value="item">
 <input type="hidden" name=":required" value="title">
index dd102b24dbf8e26704b5b8166b303bce0b617dfc..8361524c8aeede327ca7117783f2a4764ea682df 100644 (file)
@@ -11,7 +11,8 @@ You are not allowed to view this page.
 </span>
 
 <form method="POST" onSubmit="return submit_once()"
-      enctype="multipart/form-data" tal:condition="context/is_edit_ok">
+      enctype="multipart/form-data" tal:condition="context/is_edit_ok"
+      tal:attributes="action context/designator">
 
 <table class="form">
  <tr>
index 6bb00428a3093113dec1ae3ded195408584ccd34..42917bdf6ac7a61731c3d6688504c10d087a41a7 100644 (file)
@@ -29,7 +29,8 @@
 </p>
 
 <form method="POST" onSubmit="return submit_once()"
-      enctype="multipart/form-data">
+      enctype="multipart/form-data"
+      tal:attributes="action context/designator">
 
  <table class="form">
   <tr>
index d527c461bf900aadc74db3611cb320dc70f58a92..aa6b1849d4bc7612ebc11685cd438880eab93d1a 100644 (file)
@@ -9,7 +9,8 @@
 <p>You have two options if you have forgotten your password. If you 
 know the email address you registered with, enter it below.</p>
 
-<form method="POST" onSubmit="return submit_once()">
+<form method="POST" onSubmit="return submit_once()"
+      tal:attributes="action context/designator">
     <table class="form">
       <tr>
         <th>Email Address:</th>
index c3cdc78f3e18ae652a5829f6dce02fdfaf95fce6..dc78107ea49416f1deb61fcbfe5c3e10591e638f 100644 (file)
@@ -19,7 +19,8 @@ You are not allowed to view this page.
 </span>
 
 <form method="POST" onSubmit="return submit_once()"
-      enctype="multipart/form-data" tal:condition="context/is_edit_ok">
+      enctype="multipart/form-data" tal:condition="context/is_edit_ok"
+      tal:attributes="action context/designator">
 
 <table class="form">
  <tr>
index f43ca26a02a7bd92c59df4005828000450ffa797..930616dd0b20f37cd12dc442761977097e60c1d5 100644 (file)
@@ -15,7 +15,9 @@ You are not allowed to view this page.
 </span>
 
 <tal:block tal:condition="editok">
-<form method="POST" onSubmit="return submit_once()" enctype="multipart/form-data">
+<form method="POST" onSubmit="return submit_once()"
+      enctype="multipart/form-data"
+      tal:attributes="action context/designator">
 
 <table class="form">
  <tr>