templates/prefs.tmpl
changeset 60 dad9733c99f0
parent 59 2c5e38748004
child 61 a1bcf5e4b8a4
--- a/templates/prefs.tmpl	Sun Dec 28 12:29:23 2008 -0500
+++ b/templates/prefs.tmpl	Sun Dec 28 12:41:44 2008 -0500
@@ -3,7 +3,8 @@
   <TMPL_INCLUDE NAME="headers.tmpl">
   <body>
     <h1><TMPL_VAR remote_user>'s Preferences</h1>
-    <form action="edit_prefs.py" method="post" name="prefs">
+    <form action="" method="post" name="prefs">
+      <input type="hidden" name="action" value="prefs"/>
       <p><label>Display name:
         <input type="text" name="fullname"
   	       value="<TMPL_VAR remote_user>"/></label></p>
@@ -28,10 +29,10 @@
 	<input type="checkbox" name="kw_reverse"
 	  <TMPL_IF kw_reverse>checked</TMPL_IF>>
 	reversed</p>
-	<button>Submit</button>
+	<button name="step" value="edit" type="submit">Submit</button>
+	<button name="step" value="cancel" type="submit">Cancel</button>
     </form>
     <hr/>
-    <a href="index">Back to main page</a>
 </html>
 <!-- Keep this comment at the end of the file
 Local variables: