diff --git a/Commands/Web.hs b/Commands/Web.hs index 293ffe0c8..2538513c6 100644 --- a/Commands/Web.hs +++ b/Commands/Web.hs @@ -232,11 +232,10 @@ searchform env = do where u = dropWhile (=='/') $ Hack.Contrib.Request.path env
<% nbsp %>search for:<% nbsp %>?<% nbsp %><% nbsp %>in reporting period:<% nbsp %>? - + /><% help "filter-patterns" + %><% nbsp %><% nbsp %>in reporting period:<% nbsp %><% help "period-expressions" + %> <% resetlink %> @@ -257,19 +256,26 @@ addform env = do <% transactionfields 1 env %> <% transactionfields 2 env %> - +
- Date: <% nbsp %> + Date: <% help "dates" %><% nbsp %> Description: <% nbsp %>
<% help "file-format" %>

+help :: String -> HSP XML +help topic =
? + where u = printf "http://hledger.org/MANUAL.html%s" l :: String + l | null topic = "" + | otherwise = '#':topic + transactionfields :: Int -> Hack.Env -> HSP XML transactionfields n env = do let inputs = Hack.Contrib.Request.inputs env