I have an error in the next code and cant see the problem.
I would appreciate some help here.
thanks
{{for x in kpi:}}
{{=DIV(DIV(H3("???"),P(x["waiting"]),_class="inner"),DIV(I(_class="fa
fa-hourglass-end"),_class="icon"),A(T("Please
wait..."),_class="small-box-footer"),_class="small-box bg-red"
,_id=x["kpi"],_onclick="web2py_component('{{=URL('kpi',
x['kpi']+'.load')}}', target='{{=x['kpi']}}')")}}
{{pass}}
{{pass}}
Traceback (most recent call last):
File "/home/ramstein74/webapps/new2py/web2py/gluon/restricted.py",
line 226, in restricted
ccode = compile2(code, layer)
File "/home/ramstein74/webapps/new2py/web2py/gluon/restricted.py",
line 209, in compile2
return compile(code.rstrip().replace('\r\n', '\n') + '\n', layer, 'exec')
File
"/home/ramstein74/webapps/new2py/web2py/applications/fileit/views/entities/list.html",
line 379
,_id=x["kpi"],_onclick="web2py_component('{{=URL('kpi', x['kpi']+'.load'))
^
SyntaxError: EOL while scanning string literal
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.