aboutsummaryrefslogtreecommitdiff
path: root/Utility/Yesod.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-10-13 15:32:41 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-10-13 15:33:51 -0400
commit78f94f50674d60c7d54307029bef1edf9b27782b (patch)
tree49a44f4f93465712b6f9c21c3dd782e9e87bf770 /Utility/Yesod.hs
parent9bed12c93d382a9bd9ae351eb698d624e54c5b27 (diff)
more accurate bounds on yesod boostrap3 ifdefs
Diffstat (limited to 'Utility/Yesod.hs')
-rw-r--r--Utility/Yesod.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/Utility/Yesod.hs b/Utility/Yesod.hs
index 9fba28732..afe10a111 100644
--- a/Utility/Yesod.hs
+++ b/Utility/Yesod.hs
@@ -25,9 +25,12 @@ module Utility.Yesod
#if MIN_VERSION_yesod(1,2,0)
import Yesod as Y
-import Yesod.Form.Bootstrap3 as Y hiding (bfs)
#else
import Yesod as Y hiding (Html)
+#endif
+#if MIN_VERSION_yesod_form(1,3,8)
+import Yesod.Form.Bootstrap3 as Y hiding (bfs)
+#else
import Assistant.WebApp.Bootstrap3 as Y hiding (bfs)
#endif
#ifndef __NO_TH__