Hi
I configured Pylons to be used with Mako. It works greate, but I can't
make webhelpers work.
In an inhereted template I had simple login form- it was rendered as I
expected. Then I tried to switch to using webhelpers to generate the
same form. But it doesn't work for me.
I added to helpers.py
from webhelpers.rails import *
But then I tried the following in my template:
+
<% h.text_field('email') %>
<% h.url_for('index2') %>
<% h.url_for(controller='index', action='login') %>
+
I get only "++", no errors.
What should I do to get this code working. And can anyone tell is
there any advantages of using webhelper for generating html instead of
simple html code.
I am using
pylons-0.9.6dev_r1956-py2.5.egg
mako-0.1.5-py2.5.egg
webhelpers-0.3-py2.5.egg
Thanks for your help.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---