fixed carts
This commit is contained in:
parent
ccbf2cde10
commit
be7a85a451
@ -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}}
|
||||
|
||||
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user