Created
July 20, 2016 04:04
-
-
Save simpleprogrammer-shared/e9845977befe0ec24598965abdb29291 to your computer and use it in GitHub Desktop.
Getting Started With Meteor Tutorial (In the Cloud) 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<head> | |
<title>Spartan TODO</title> | |
</head> | |
<body> | |
<h1>DO OR DIE!</h1> | |
{{> list}} | |
{{> controls }} | |
</body> | |
<template name="list"> | |
<ul> | |
{{#each items}} | |
<li>{{description}}</li> | |
{{/each}} | |
</ul> | |
</template> | |
<template name="controls"> | |
<form> | |
<input type="text" id="newItem" /> | |
<input type="submit" id="add" value="Add" /> | |
</form> | |
</template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment