diff options
Diffstat (limited to 'ishtar_common/templates/widgets/image_input.html')
-rw-r--r-- | ishtar_common/templates/widgets/image_input.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ishtar_common/templates/widgets/image_input.html b/ishtar_common/templates/widgets/image_input.html index fe9090e46..c71ada193 100644 --- a/ishtar_common/templates/widgets/image_input.html +++ b/ishtar_common/templates/widgets/image_input.html @@ -9,8 +9,9 @@ </span>{% endif %} <span class="col-8"> {% if is_initial or widget.value.url %}{% if not widget.required %} - <input type="checkbox" name="{{ checkbox_name }}" id="{{ checkbox_id }}" /> - <label for="{{ checkbox_id }}">{% trans "delete" %}</label> + <input type="checkbox" name="{{ widget.checkbox_name }}" + id="{{ widget.checkbox_id }}" /> + <label for="{{ widget.checkbox_id }}">{% trans "delete" %}</label> {% endif %}{% endif %} <input type="{{ widget.type }}" name="{{ widget.name }}"{% include 'django/forms/widgets/attrs.html' %} /> </span> |