Skip to content

Commit

Permalink
New Stay entity to track client stays
Browse files Browse the repository at this point in the history
  • Loading branch information
schallis committed Aug 19, 2011
1 parent 172e118 commit aacf2cf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/house_the_homeless/routes.clj
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
(ds/defentity Code [^:key content])
(ds/defentity Event [^:key content])
(ds/defentity Client [^:key firstname])
(ds/defentity Stay [^:key date])

;;
;;
Expand Down Expand Up @@ -83,14 +84,15 @@

(defpartial layout [title & content]
(html5
[:head
[:title title]
(include-css "/css/main.css")]
[:body
[:h1 "House the Homeless"]
(side-bar)
[:h2 title]
content]))
[:head
[:title title]
(include-css "/css/main.css")]
[:body
[:h1 "House the Homeless"]
(side-bar)
(html
[:h2 title]
content)]))

(defpartial error-item [[first-error]]
[:p.error first-error])
Expand Down
Binary file modified war/WEB-INF/appengine-generated/local_db.bin
Binary file not shown.

0 comments on commit aacf2cf

Please sign in to comment.