I realy like the html helpers but like a lot more the eml language sintax regarding html because for bigger code than this example shows, having the named arguments like _class at the end of the helper is very confusing and dificult to see what named arguments correspond to a particular helper. Its a python thing having named arguments at the end but....
Elm div [ class "myclass" ] [ b [] [ i [] [ text "hello <world>" ] ] ] web2py Helpers DIV(B(I("hello ", "<world>")), _class="myclass") Output expected <div class="myclass"><b><i>hello <world></i></b></div> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/CAEM0BxOC5XGUi9Hao2Yzhbqoi6_%3DHMwPu%3D2n6w5Udu5iQ%3DVtjA%40mail.gmail.com.