From e1066b622a1a288d8135aca67ce9d4bfa8b97391 Mon Sep 17 00:00:00 2001 From: Felipe Lessa Date: Thu, 16 Feb 2012 11:47:27 -0200 Subject: [PATCH] Update renderBootstrap's docs for Bootstrap 2.0. --- yesod-form/Yesod/Form/Functions.hs | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/yesod-form/Yesod/Form/Functions.hs b/yesod-form/Yesod/Form/Functions.hs index 59cc912d..fe33b89c 100644 --- a/yesod-form/Yesod/Form/Functions.hs +++ b/yesod-form/Yesod/Form/Functions.hs @@ -297,17 +297,17 @@ $forall view <- views -- -- Sample Hamlet: -- --- >
--- >
--- > _{MsgLegend} --- > $case result --- > $of FormFailure reasons --- > $forall reason <- reasons --- >
#{reason} --- > $of _ --- > ^{formWidget} --- >
--- > +-- > +-- >
+-- > _{MsgLegend} +-- > $case result +-- > $of FormFailure reasons +-- > $forall reason <- reasons +-- >
#{reason} +-- > $of _ +-- > ^{formWidget} +-- >
+-- > renderBootstrap :: FormRender sub master a renderBootstrap aform fragment = do (res, views') <- aFormToForm aform