0001-Revert-templates-always-wrap-tables-in-div.table-con.patch
fargo/templates/fargo/home.html | ||
---|---|---|
44 | 44 |
<div class="cell"> |
45 | 45 |
<h2>{% if site_title %}{{ site_title }}{% else %}{% trans "Portfolio" %}{% endif %}</h2> |
46 | 46 |
<div id="user-files"> |
47 |
{% if not table.page %} |
|
48 |
<div class="table-container"> |
|
49 |
{% endif %} |
|
50 | 47 |
{% render_table table "fargo/table.html" %} |
51 |
{% if not table.page %} |
|
52 |
</div> |
|
53 |
{% endif %} |
|
54 |
|
|
55 | 48 |
<form id="send-file" method="post" enctype="multipart/form-data"> |
56 | 49 |
{% csrf_token %} |
57 | 50 |
{{ form.non_field_errors }} |
fargo/templates/fargo/pick.html | ||
---|---|---|
5 | 5 |
{% block bodyclasses %}fargo-popup fargo-pick-popup{% endblock %} |
6 | 6 | |
7 | 7 |
{% block content %} |
8 |
{% if not table.page %} |
|
9 |
<div class="table-container"> |
|
10 |
{% endif %} |
|
11 | 8 |
{% render_table table "fargo/pick_table.html" %} |
12 |
{% if not table.page %} |
|
13 |
</div> |
|
14 |
{% endif %} |
|
15 | 9 |
<form method="post" enctype="multipart/form-data"> |
16 | 10 |
{% csrf_token %} |
17 | 11 |
{{ form.non_field_errors }} |
18 |
- |