Skip to content

Instantly share code, notes, and snippets.

@jsonmez
Last active August 29, 2015 14:07
Show Gist options
  • Save jsonmez/061d183d3958825a2b67 to your computer and use it in GitHub Desktop.
Save jsonmez/061d183d3958825a2b67 to your computer and use it in GitHub Desktop.
Spartan TODO List: Hard coded HTML UI
<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