Skip to content

Commit

Permalink
Merge pull request #662 from mpasternak/feature/661-fix-grappelli-ren…
Browse files Browse the repository at this point in the history
…dering

Fix django-grappelli rendering bug (#661)
  • Loading branch information
craigds committed Jul 18, 2018
2 parents 96df840 + 75b89a9 commit e451df7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions mptt/templates/admin/grappelli_mptt_change_list_results.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@

{% if results %}
<div class="grp-module grp-changelist-results">
<table cellspacing="0" id="grp-sortable">
<table id="result_list" cellspacing="0" class="grp-table grp-sortable">
<thead>
<tr>
{% for header in result_headers %}
<th scope="col" {{ header.class_attrib }}>
{{ header.text|capfirst }}
<div class="grp-text">
<span>{{ header.text|capfirst }}</span>
</div>
</th>{% endfor %}
</tr>
</thead>
Expand All @@ -25,4 +27,4 @@
</tbody>
</table>
</div>
{% endif %}
{% endif %}

0 comments on commit e451df7

Please sign in to comment.