mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Extra form info
This commit is contained in:
parent
1cb6c67086
commit
3460a48b63
@ -2,6 +2,16 @@
|
|||||||
|
|
||||||
{% block form %}
|
{% block form %}
|
||||||
|
|
||||||
|
{% if parts|length > 0 %}
|
||||||
|
<div class='alert alert-info alert-block' role='alert'>
|
||||||
|
Select suppliers for {{ parts|length }} parts.
|
||||||
|
</div>
|
||||||
|
{% else %}
|
||||||
|
<div class='alert alert-warning alert-block' role='alert'>
|
||||||
|
No purchaseable parts selected.
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<form method="post" action='' class='js-modal-form' enctype="multipart/form-data">
|
<form method="post" action='' class='js-modal-form' enctype="multipart/form-data">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{% load crispy_forms_tags %}
|
{% load crispy_forms_tags %}
|
||||||
|
Loading…
Reference in New Issue
Block a user