From aed09eea8e5bada9a0a2975f8d8c7407eb3bf860 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Thu, 9 Apr 2020 14:36:19 +0200 Subject: [PATCH] Revert "templates: always wrap tables in div.table-container (fixes #22795)" This reverts commit 49cc5185b27914b7ade7f4e5cfe1627b90e1496e. --- fargo/templates/fargo/home.html | 7 ------- fargo/templates/fargo/pick.html | 6 ------ 2 files changed, 13 deletions(-) diff --git a/fargo/templates/fargo/home.html b/fargo/templates/fargo/home.html index 8fa78b3..f4cff30 100644 --- a/fargo/templates/fargo/home.html +++ b/fargo/templates/fargo/home.html @@ -44,14 +44,7 @@

{% if site_title %}{{ site_title }}{% else %}{% trans "Portfolio" %}{% endif %}

- {% if not table.page %} -
- {% endif %} {% render_table table "fargo/table.html" %} - {% if not table.page %} -
- {% endif %} -
{% csrf_token %} {{ form.non_field_errors }} diff --git a/fargo/templates/fargo/pick.html b/fargo/templates/fargo/pick.html index bdf9ecc..aaa7071 100644 --- a/fargo/templates/fargo/pick.html +++ b/fargo/templates/fargo/pick.html @@ -5,13 +5,7 @@ {% block bodyclasses %}fargo-popup fargo-pick-popup{% endblock %} {% block content %} - {% if not table.page %} -
- {% endif %} {% render_table table "fargo/pick_table.html" %} - {% if not table.page %} -
- {% endif %} {% csrf_token %} {{ form.non_field_errors }} -- 2.24.0