Skip to content

Commit

Permalink
Merge pull request django#104 from samuraisam/17138-html5-remove-summary
Browse files Browse the repository at this point in the history
Fixed django#17138 -- Removed the 'summary' attribute from the admin index tables to be html5-valid.
  • Loading branch information
jphalip committed Jun 4, 2012
2 parents a89034a + 43a46e9 commit f292341
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions django/contrib/admin/templates/admin/index.html
Expand Up @@ -15,8 +15,12 @@
{% if app_list %}
{% for app in app_list %}
<div class="module">
<table summary="{% blocktrans with name=app.name %}Models available in the {{ name }} application.{% endblocktrans %}">
<caption><a href="{{ app.app_url }}" class="section">{% blocktrans with name=app.name %}{{ name }}{% endblocktrans %}</a></caption>
<table>
<caption>
<a href="{{ app.app_url }}" class="section" title="{% blocktrans with name=app.name %}Models in the {{ name }} application{% endblocktrans %}">
{% blocktrans with name=app.name %}{{ name }}{% endblocktrans %}
</a>
</caption>
{% for model in app.models %}
<tr>
{% if model.admin_url %}
Expand Down

0 comments on commit f292341

Please sign in to comment.