• 1203 views
  • 0 comments
  • loading...

Concatenates other helpers

This helper concatenates other helpers, same as TAG.



>>> print CAT('Here is a ', A('link',_href=URL()), ', and here is some ', B('bold text'), '.')

Here is a <a href="/app/default/index">link</a>, and here is some <b>bold text</b>.

loading...

Sources / Reference

" Web2py Book"


Comments

loading...

Powered by
Web2py

Hosted on
www.pythonanywhere.com
(affiliated link)