fixed carts

This commit is contained in:
Yaman 2015-01-12 21:13:48 -05:00
parent ccbf2cde10
commit be7a85a451
2 changed files with 8 additions and 11 deletions

View File

@ -29,7 +29,7 @@
<!-- Carts -->
<div class="border">
<div>
<h6> Edit Carts</h6> <!-- Editing Carts -->
<h6> Edit Carts</h6> <!-- Editing Carts -->
{{#each carts}}
<div class="row-admin">
{{>cart}}

View File

@ -4,16 +4,7 @@ Template.admin.helpers({
},
carts: function() {
return carts.find();
}
});
ReactiveTabs.createInterface({
template: 'teacherTabs',
onChange: function (slug, template) {
}
});
Template.admin.helpers({
},
tabs: function () {
// Every tab object MUST have a name and a slug!
return [
@ -23,6 +14,12 @@ Template.admin.helpers({
}
});
ReactiveTabs.createInterface({
template: 'teacherTabs',
onChange: function (slug, template) {
}
});
Template.admin.events({
"submit .add, click .add": function (event) {
event.preventDefault();