{% extends "modal_form.html" %}
{% load i18n %}

{% block pre_form_content %}

<p>
    {% trans "Select parent part to copy BOM from" %}
</p>

{% if part.has_bom %}
<div class='alert alert-block alert-danger'>
    <strong>{% trans "Warning" %}</strong><br>
    {% trans "This part already has a Bill of Materials" %}<br>
</div>
{% endif %}

{% endblock %}
