2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-14 15:41:10 +00:00

Refactor BomItemDelete form

This commit is contained in:
Oliver
2021-07-03 16:10:41 +10:00
parent 359e92cd8e
commit 83256b1014
4 changed files with 9 additions and 34 deletions

View File

@@ -1,16 +0,0 @@
{% extends "modal_delete_form.html" %}
{% load i18n %}
{% block pre_form_content %}
{% trans "Are you sure you want to delete this BOM item?" %}
<br>
{% trans "Deleting this entry will remove the BOM row from the following part" %}:
<ul class='list-group'>
<li class='list-group-item'>
<b>{{ item.part.full_name }}</b> - <i>{{ item.part.description }}</i>
</li>
</ul>
{% endblock %}