From 8bde2fd21216bdc7afa9396dd78fd72780908c0c Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 17 Feb 2015 23:23:49 +0000 Subject: [PATCH] web: use/show full file paths in add form (#234) --- hledger-web/Foundation.hs | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/hledger-web/Foundation.hs b/hledger-web/Foundation.hs index 1cc5da387..04dcc1be7 100644 --- a/hledger-web/Foundation.hs +++ b/hledger-web/Foundation.hs @@ -37,7 +37,6 @@ import Data.List import Data.Maybe import Data.Text as Text (Text,pack,unpack) import Data.Time.Calendar -import System.FilePath (takeFileName) #if BLAZE_HTML_0_4 import Text.Blaze (preEscapedString) #else @@ -370,22 +369,31 @@ addform _ vd@VD{..} = [hamlet| |] | otherwise = [hamlet| -