add: Hidden form parameters
authorRicardo Velhote <rvelhote@gmail.com>
Sat, 22 May 2010 12:32:05 +0000 (13:32 +0100)
committerRicardo Velhote <rvelhote@gmail.com>
Sat, 22 May 2010 12:32:05 +0000 (13:32 +0100)
swat/templates/default/component/account-user-form.mako

index 6b57a1cd852c9cc243bc54c85ae076363d664881..ce620fe6c171629fb79aa2c29fe89d2873bd2f65 100644 (file)
                 </ol>
             </li>
         </ul>
+     
+        <div>
+            ${h.hidden("task", request.environ['pylons.routes_dict']['action'])}
+            ${h.hidden("id", c.user.rid)}
+            ${h.hidden("type", "user")}
+        </div>
     ${h.end_form()}
 </%def>