diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-03-26 15:26:20 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-07-21 15:07:41 +0200 |
| commit | 62b34d0afb55a5c5c7bc1da22f0c0d293ee3936d (patch) | |
| tree | d4bbb36fbd4f23f3fe406cefcc3be0ba396d981e /ishtar_common/templates/blocks/bs_formset_snippet.html | |
| parent | 18556dec8d2989f715d2251342aa4368fda857c8 (diff) | |
| download | Ishtar-62b34d0afb55a5c5c7bc1da22f0c0d293ee3936d.tar.bz2 Ishtar-62b34d0afb55a5c5c7bc1da22f0c0d293ee3936d.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.html | 4 |
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 %} |
