Click on button, and render the collection


#1

I have a button, is role is simple when I click he display all of my list.

The default comportement display only items with check: false.

Each items contain a checkbox if I click on this checkbox I update the check at true.

NOW, I can’t not do it?

Template.students.helpers({

           /* Helper from my template HTML */
           all_students: () => {
                return students.find();
            }
 })
Template.students.events({
/* .all is the class of my button */
            'click .all': () => { 
            }
 })

My button, is out on my each loop in my HTML.

So I would like thanks you :slight_smile:
Jonathan