Hi,
I have problem with rating system, downloaded from atmosphere (https://atmospherejs.com/barbatus/stars-rating). Here is the code:
js
Meteor.subscribe('objects');
Template.szablon.helpers({
helper: function(){
return kolekcja.find();
}
})
html
<template name="szablon">
{{#each helper}}
{{title}} {{> starsRating rating=4 id=title mutable=true}} <br/>
{{/each}}
</template>
i can take value of rating by this
var rating = $('#rating').data('userrating');
But question is how can i take vale of ratings to differents objects when i have a few ratings on one page like in my example and write this values to collection which take value {{title}}?
Thank you in advance for your help