bundled/werkzeug/werkzeug/debug/shared/vartable.tmpl @ b2bd9c232faa
flask
Bundle Werkzeug.
author |
Steve Losh <steve@stevelosh.com> |
date |
Fri, 11 Jun 2010 20:14:01 -0400 |
parents |
(none) |
children |
(none) |
<table class="vars">
<% if type == 'empty' %>
<tr><th>no data given</th></tr>
<% elif type == 'simple' %>
<tr><td class="value">$escape(value)</td></tr>
<% elif type == 'dict' %>
<tr><th>Name</th><th>Value</th></tr>
<% for key, item in value %>
<tr><td class="name">$escape(key)</td><td class="value">$escape(item)</td></tr>
<% endfor %>
<% elif type == 'list' %>
<% for item in value %>
<tr><td class="value">$escape(item)</td></tr>
<% endfor %>
<% endif %>
</table>