Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (def statuses ["a" "b" "c"])
- (defroutes admin-routes
- (GET "/" [] (common/layout-narrow
- [:div [:h1 "Admin Page"]
- [:div
- [:h2 "Stories"]
- [:ul {:class "status"}
- [:li [:p "Add a new story"]]
- (for [status statuses] [:li [:p status]])
- ]]] ))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement