{% extends "modal_delete_form.html" %} {% load i18n %} {% block pre_form_content %}
{% trans "Are you sure you want to delete the following Manufacturer Parts?" %}
{% for part in parts %} {% endfor %} {% endblock %} {% block form_data %} {% for part in parts %}
{% include "hover_image.html" with image=part.part.image %} {{ part.part.full_name }} {% include "hover_image.html" with image=part.manufacturer.image %} {{ part.manufacturer.name }} {{ part.MPN }}
{% if part.supplier_parts.all|length > 0 %}

{% blocktrans with count=part.supplier_parts.all|length %}There are {{count}} suppliers defined for this manufacturer part. If you delete it, the following supplier parts will also be deleted:{% endblocktrans %}

{% endif %} {% endfor %} {% endblock %}