How can I adjust this to work with multiple ratings-style widgets on one form?
I have a table with 6 integer fields, which I would all like to use this widget.
However, when I do crud.create(db.staff_target), then I only get one star widget? I'm assuming that it's something to do with the _id="stars-cap" and _id="stars-wrapper" part of the rating_widget function?
Example Snippet
I'm assuming that it's something to do with the rating_widget function returning a static id. Any suggestions on how to modify this would be appreciated...
0
mandriluy 13 years ago