Re: [web-devel] Wrapping the widget generated by the authEmail backend.
4 Jan
2011
4 Jan
'11
2:11 p.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 <matt@softmechanics.net> wrote:
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
5724
Age (days ago)
5724
Last active (days ago)
0 comments
1 participants
participants (1)
-
Nubis