ember - How to correctly add bootstrap rows/cols based on number of records in model?
问题 I have a route groups.index that showcases all the groups in my app. In the route I use the this.store.findAll('group'); to fetch all the groups and in the groups.index template I use the each to go through each group. I want to make it so that each group is contained within a bootstrap col-md-3 class, so that I can make 4 "panels" for each row showcasing the groups. I made a helper class for handlebars that determines whether the index is at 0, or a multiple of 5, to determine where to start