On Fri, May 22, 2009 at 10:44 PM, NikG <[email protected]> wrote:
> from the manual
> <h1>Hello {{=session.visitor_name or "anonymous"}}</h1>
>
> current form
> {{=H1('Hello ', session.visitor_name or 'anonynous')}}
>
> Is there any (newbie friendly) guide I can read about these kind of
> changes?

No changes there, I guess - these two notations are equivalent and to
my knowledge both always have worked in web2py.

H1(...) is a helper function that creates the <h1>...</h1> tags for you.
Anything between {{ and }} is Python code that gets executed.

Horst

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to