From ee8b46b26b8cea2d2d4a506ae9a5d59265b3ab6a Mon Sep 17 00:00:00 2001 From: nek0 Date: Thu, 12 Feb 2015 00:15:35 +0100 Subject: [PATCH] fixed error with account reactivation --- Handler/Reactivate.hs | 2 +- templates/reactivate.hamlet | 13 +++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Handler/Reactivate.hs b/Handler/Reactivate.hs index b095984..e061244 100644 --- a/Handler/Reactivate.hs +++ b/Handler/Reactivate.hs @@ -23,7 +23,7 @@ import Data.Text.Encoding getReactivateR :: Handler Html getReactivateR = do (reactivateWidget, enctype) <- generateFormPost reactivateForm - defaultLayout $ do + formLayout $ do setTitle "Eidolon :: Reactivate account" $(widgetFile "reactivate") diff --git a/templates/reactivate.hamlet b/templates/reactivate.hamlet index 39402ae..d1f6763 100644 --- a/templates/reactivate.hamlet +++ b/templates/reactivate.hamlet @@ -1,8 +1,9 @@ $newline always +