summaryrefslogtreecommitdiff
path: root/ishtar_common/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2021-07-29 19:02:32 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-07-29 19:02:32 +0200
commite180ed275c9b907a90ba98a0e60c2c746c264e48 (patch)
treeb001faf2afe326bd983065ea6f363faaad644e6c /ishtar_common/templates
parent7e1b10f0645539698b3aad3512a5e865dd56522f (diff)
downloadIshtar-e180ed275c9b907a90ba98a0e60c2c746c264e48.tar.bz2
Ishtar-e180ed275c9b907a90ba98a0e60c2c746c264e48.zip
Preventive file: work on inlines - 3
Diffstat (limited to 'ishtar_common/templates')
-rw-r--r--ishtar_common/templates/blocks/bs_formset_snippet.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/ishtar_common/templates/blocks/bs_formset_snippet.html b/ishtar_common/templates/blocks/bs_formset_snippet.html
index 3a7e537d3..cfc9bb37b 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 %}
- {% with bs_col_width='col-3' %}
- {% include "blocks/bs_field_snippet.html" %}
- {% endwith %}
+ {% ifequal 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 %}
{% endfor %}
{% if form.extra_render %}