Skip to content

Commit

Permalink
Remove class="thead-default" from thead.
Browse files Browse the repository at this point in the history
Remove class="thead-default" from thead.
This was preventing the class from being updated as part of the attrs as demonstrated in 
jieter/django-tables2#671
  • Loading branch information
stanorama authored and jieter committed Jun 28, 2019
1 parent fd8fbfb commit 58df1eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_tables2/templates/django_tables2/bootstrap4.html
Expand Up @@ -6,7 +6,7 @@
<table {% render_attrs table.attrs class="table" %}>
{% block table.thead %}
{% if table.show_header %}
<thead class="thead-default" {{ table.attrs.thead.as_html }}>
<thead {{ table.attrs.thead.as_html }}>
<tr>
{% for column in table.columns %}
<th {{ column.attrs.th.as_html }}>
Expand Down

0 comments on commit 58df1eb

Please sign in to comment.