]> ruin.nu Git - yawbih.git/commitdiff
using table for footer
authorMichael Andreen <harv@ruin.nu>
Sat, 11 Dec 2004 15:12:01 +0000 (15:12 +0000)
committerMichael Andreen <harv@ruin.nu>
Sat, 26 Jan 2008 11:33:16 +0000 (12:33 +0100)
Main.hs

diff --git a/Main.hs b/Main.hs
index a52b038feac63fd30f837288f8ef7dee9be66449..b261901b66d582807a39efe272dd658d9d40b4e2 100644 (file)
--- a/Main.hs
+++ b/Main.hs
@@ -65,10 +65,9 @@ showPage db key s = do
 
 footer db key = do
        hr empty
-       submitLink0 (editPage db key) (text "Edit this page")
-       text " Keyword: "
-       activate (sp db) textInputField empty
-       --address (hlink (URL {unURL = ("wiki?"++key++"+edit")}) (text "Edit this page") 
+       table $ tr $ do
+               td $ submitLink0 (editPage db key) (text "Edit this page")
+               td $ text "Keyword: " >> activate (sp db) textInputField empty
 
 ex [] = return ()
 ex ((Paragraph):xs) = do