figuring out meteor

This commit is contained in:
Edin Dazdarevic
2015-05-27 19:34:44 +02:00
parent a1ba8186c5
commit 65c2902dcd
2 changed files with 18 additions and 0 deletions

View File

@@ -10,11 +10,20 @@
Here goes list of machines
</div>
</div>
<div class="row">
{{#each machines}}
{{> machineDetails}}
{{/each}}
</div>
</div>
<!-- {{> hello}} -->
</body>
<template name="machineDetails">
<div class="col-lg-4">{{hostname}}</div>
</template>
<template name="hello">
<button>Click Me</button>
<p>You've pressed the button {{counter}} times.</p>