From 8a41a53e561ddef6e4f421130138ee7f4de92495 Mon Sep 17 00:00:00 2001 From: Daniel Musketa Date: Tue, 17 Sep 2019 11:09:50 +0200 Subject: [PATCH] bootstrap4: Removed invalid scope attribut in a tr element. (#691) bootstrap4: Removed invalid scope attribut in a tr element. The problem was introduced in the WIP commit 7a0518dcbb554d7b5f9c3202013ef2184714d6f5: diff --git a/django_tables2/templates/django_tables2/bootstrap.html b/django_tables2/templates/django_tables2/bootstrap4.html index feaf220..6cc1487 100644 --- a/django_tables2/templates/django_tables2/bootstrap.html +++ b/django_tables2/templates/django_tables2/bootstrap4.html @@ -25,7 +25,7 @@ {% for row in table.paginated_rows %} {% block table.tbody.row %} - + {% for column, cell in row.items %} {% if column.localize == None %}{{ cell }}{% else %}{% if column.localize %}{{ cell|localize }}{% else %}{{ cell|unlocalize }}{% endif %}{% endif %} {% endfor %} --- django_tables2/templates/django_tables2/bootstrap4.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_tables2/templates/django_tables2/bootstrap4.html b/django_tables2/templates/django_tables2/bootstrap4.html index 6cc14871..d385f731 100644 --- a/django_tables2/templates/django_tables2/bootstrap4.html +++ b/django_tables2/templates/django_tables2/bootstrap4.html @@ -25,7 +25,7 @@ {% for row in table.paginated_rows %} {% block table.tbody.row %} - + {% for column, cell in row.items %} {% if column.localize == None %}{{ cell }}{% else %}{% if column.localize %}{{ cell|localize }}{% else %}{{ cell|unlocalize }}{% endif %}{% endif %} {% endfor %}