Re: [web-devel] Wrapping the widget generated by the authEmail backend.

4 Jan
2011
4 Jan
'11
9:11 a.m.
Exactly! I was looking for addWidget.
I'll give it a shot at providing my own html also, I'll let you know my
final solution.
Thank you all guys.
cheers
----nubis :)
On Tue, Jan 4, 2011 at 9:29 AM, Matt Brown
Regarding your error, I think you want addWidget instead of addHamlet. This compiles for me:
loginHandler = do let tm = liftHandler getRouteToMaster let email = tm >>= apLogin authEmail defaultLayout $ do setTitle $ string "Login" addWidget $(hamletFile "login")
-matt
5250
Age (days ago)
5250
Last active (days ago)
0 comments
1 participants
participants (1)
-
Nubis