PageRenderTime 64ms CodeModel.GetById 61ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/django/contrib/admin/templates/admin/change_list_results.html

https://code.google.com/p/mango-py/
HTML | 27 lines | 27 code | 0 blank | 0 comment | 0 complexity | a050501d4f4bfbe57433d2c7b9f9e212 MD5 | raw file
 1{% if result_hidden_fields %}
 2<div class="hiddenfields">{# DIV for HTML validation #}
 3{% for item in result_hidden_fields %}{{ item }}{% endfor %}
 4</div>
 5{% endif %}
 6{% if results %}
 7<div class="results">
 8<table cellspacing="0" id="result_list">
 9<thead>
10<tr>
11{% for header in result_headers %}<th scope="col"{{ header.class_attrib }}>
12{% if header.sortable %}<a href="{{ header.url }}">{% endif %}
13{{ header.text|capfirst }}
14{% if header.sortable %}</a>{% endif %}</th>{% endfor %}
15</tr>
16</thead>
17<tbody>
18{% for result in results %}
19{% if result.form.non_field_errors %}
20    <tr><td colspan="{{ result|length }}">{{ result.form.non_field_errors }}</td></tr>
21{% endif %}
22<tr class="{% cycle 'row1' 'row2' %}">{% for item in result %}{{ item }}{% endfor %}</tr>
23{% endfor %}
24</tbody>
25</table>
26</div>
27{% endif %}