Hi, its been a while since I've used web2py, I'm sure this is easy but 
cannot find it in the manual:-

In a view I'm generating html using the helper TR() while looping over rows 
from a sqlite table, I just want to add a class="warning" to some rows 
based on the value in a database field  (e.g. if row.field1 == None then 
add class="warning" to this TR row, else don't add any css class to this 
row), so I can highlight just some of the rows with missing data.

Thanks

 

-- 

--- 
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/groups/opt_out.


Reply via email to