Created
July 22, 2012 11:37
-
-
Save rociiu/3159389 to your computer and use it in GitHub Desktop.
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
(defn index [] | |
(html5 | |
[:head | |
[:title "Todo Index"]] | |
[:body | |
[:div {:id "todos"} [:h2 "All Todos"]] | |
(form-to | |
[:post "/create"] | |
(label :todo "Enter what you want to do:") | |
(text-field "content") | |
(submit-button "Submit"))])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment