From cfad583b7515b2237f026893ec0be73baa73c83d Mon Sep 17 00:00:00 2001 From: nek0 Date: Mon, 18 Aug 2014 13:18:42 +0200 Subject: [PATCH] some cleanup --- Handler/Login.hs | 2 +- templates/medium.hamlet | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Handler/Login.hs b/Handler/Login.hs index 7fef18f..c24491f 100644 --- a/Handler/Login.hs +++ b/Handler/Login.hs @@ -32,7 +32,7 @@ postLoginR = do setMessage $ "Login error" redirect $ LoginR Nothing -> do - setMessage $ [shamlet|
User does not exist|]
+          setMessage "User does not exist"
           redirect $ LoginR
 
 loginForm :: Form Credentials
diff --git a/templates/medium.hamlet b/templates/medium.hamlet
index 81709b2..c748d9a 100644
--- a/templates/medium.hamlet
+++ b/templates/medium.hamlet
@@ -4,6 +4,6 @@
   
 
 
- Uploaded on: #{formatTime defaultTimeLocale "%A %F %H:%M" (mediumTime medium)} + Uploaded on: #{formatTime defaultTimeLocale "%A %F %H:%M" (mediumTime medium)}
Description:
#{mediumDescription medium}