{% 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'>
    <b>{% trans "Warning" %}</b><br>
    {% trans "This part already has a Bill of Materials" %}<br>
</div>
{% endif %}

{% endblock %}
