added carts to /teacher

This commit is contained in:
Yaman 2015-01-11 20:47:24 -05:00
parent e143ce15e2
commit a69e6d338e
2 changed files with 8 additions and 1 deletions

View File

@ -13,7 +13,11 @@
</div> </div>
<!-- Carts --> <!-- Carts -->
<div> <div>
<h5>Coming soon...</h5> {{#each carts}}
<div class="row">
{{>cart}}
</div>
{{/each}}
</div> </div>
{{/teacherTabs}} {{/teacherTabs}}

View File

@ -17,6 +17,9 @@ Template.teacher.helpers({
Template.teacher.helpers({ Template.teacher.helpers({
chromebooks: function() { chromebooks: function() {
return Chromebooks.find(); return Chromebooks.find();
},
carts: function() {
return carts.find();
} }
}); });