On Mon, Feb 2, 2009 at 10:05 AM, Krishgy <kris...@gmail.com> wrote: > > I made it working through webhelpers.html.tags. > > from webhelpers.html.tags import * > > I used h.text() instead of h.html_field. Thanks for online pylons > book. Before I was refering chapters written long time ago. > > Are there any replacement for stylesheet_link_tag in webhelpers > instead of using rails helper?
h.stylesheet_link(url("/stylesheets/mystyle.css")) Note that stylesheet_link() outputs the exact URL specified. stylesheet_link_tag() added magic prefixes. If you need to use the deprecated rails helpers, you have to import them from webhelpers.rails.wrapped instead of webhelpers.rails. This wraps the output of each function in a literal, which prevents it from being escaped. -- Mike Orr <sluggos...@gmail.com> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---