[web-devel] Wrapping the widget generated by the authEmail backend.
nubis at woobiz.com.ar
Tue Jan 4 15:11:00 CET 2011
Exactly! I was looking for addWidget.
I'll give it a shot at providing my own html also, I'll let you know my
Thank you all guys.
On Tue, Jan 4, 2011 at 9:29 AM, Matt Brown <matt at 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")
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the web-devel