summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/blocks/bs_formset_snippet.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2025-03-26 15:26:20 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2025-10-15 19:32:59 +0200
commit22089564f871cb265646e878291fecd423edf188 (patch)
tree3a8a51602a5b1cdcea52f17b1771955b57b927cd /ishtar_common/templates/blocks/bs_formset_snippet.html
parentae5bd7720b27ebf3790c50d1b1e6c95edbc089cf (diff)
downloadIshtar-22089564f871cb265646e878291fecd423edf188.tar.bz2
Ishtar-22089564f871cb265646e878291fecd423edf188.zip
♻️ django 3.2 deprecation: force_text -> force_str - templates: remove ifequal ; PIL: Image.ANTIALIAS -> Image.Resampling.LANCZOS
Diffstat (limited to 'ishtar_common/templates/blocks/bs_formset_snippet.html')
-rw-r--r--ishtar_common/templates/blocks/bs_formset_snippet.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/ishtar_common/templates/blocks/bs_formset_snippet.html b/ishtar_common/templates/blocks/bs_formset_snippet.html
index cfc9bb37b..8ed958d1c 100644
--- a/ishtar_common/templates/blocks/bs_formset_snippet.html
+++ b/ishtar_common/templates/blocks/bs_formset_snippet.html
@@ -19,9 +19,9 @@
{% csrf_token %}
{% for field in form.visible_fields %}
- {% ifequal field.name "DELETE" %}{% with bs_col_width='col-2' %}{% include "blocks/bs_field_snippet.html" %}{% endwith %}
+ {% if field.name == "DELETE" %}{% with bs_col_width='col-2' %}{% include "blocks/bs_field_snippet.html" %}{% endwith %}
{% else %}{% with bs_col_width='col-3' %}{% include "blocks/bs_field_snippet.html" %}{% endwith %}
- {% endifequal %}
+ {% endif %}
{% endfor %}
{% if form.extra_render %}