Permalink
Browse files

Step 2: ExpressJS template

  • Loading branch information...
vkarpov15 committed Jul 25, 2013
1 parent 9baed5a commit 4ca0e7cdac304e4da0b84d4fe2452be0f8742a05
Showing with 17 additions and 2 deletions.
  1. +17 −2 views/index.jade
View
@@ -1,5 +1,20 @@
extends layout
block content
h1= title
p Welcome to #{title}
h1 My Todo List
h2 Upcoming
- each todo in todos
- if (!todo.done)
div
input(type="checkbox")
| #{todo.description}
div
| #{todo.due.toDateString()}
h2 Done
- each todo in todos
- if (todo.done)
div
input(type="checkbox", checked="true")
del #{todo.description}
div
| #{todo.due.toDateString()}

0 comments on commit 4ca0e7c

Please sign in to comment.