Templates are converted to python programs.
In python the comments start with a # or are enclosed in triple
quotes.
So {{#...}} or {{'''...'''}} or {{"""..."""}} should work.

What you have is a Javascript comment which is just another HTML
string in the template.
{{=review.id}} will still be converted to python code
if you don't want that then try e.g. {{#review.id}} or just remove the
block.

Hope this helps.

On Mar 3, 1:58 pm, Mengu <whalb...@gmail.com> wrote:
> Hi,
>
> This is not a big deal. I have some inline javascript in my layout and
> I have a commented line like "// url: /review/vote?reviewid={{=
> review.id}}" (it was for rememering the url) but the template system
> want to find review and print the id.

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to