(defhtml template
[req]
(doctype :xhtml-transitional)
[:html {:xmlns "http://www.w3.org/1999/xhtml"}
[:head
[:meta {:http-equiv "Content-Type" :content "text/html"}]
[:title "Ring: Request Dump"]]
[:style {:type "text/css"} css]
[:body
[:div#content
[:h3.info "Ring Request Values"]
[:table.request
[:tbody
(for [key ring-keys]
(req-pair key req))]]
(if-let [user-keys (set/difference (set (keys req)) (set ring-keys))]
(html
[:br]
[:table.request.user
[:tbody [:tr
(for [key (sort user-keys)]
(req-pair key req))]]]))]]])
Vars in ring.handler.dump/template:
Used in 0 other vars
Comments top
No comments for template. Log in to add a comment.