mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
4f84febbd1
- Set initial value for quantity based on how many parts are left to allocate - Auto select the StockItem to take from (if there is only one)
23 lines
482 B
HTML
23 lines
482 B
HTML
{% block pre_form_content %}
|
|
{% endblock %}
|
|
|
|
{% if form.non_field_errors %}
|
|
<div class='alert alert-danger' role='alert' style='display: block;'>
|
|
<b>Error Submitting Form:</b>
|
|
{{ form.non_field_errors }}
|
|
</div>
|
|
{% endif %}
|
|
|
|
<form method="post" action='' class='js-modal-form' enctype="multipart/form-data">
|
|
{% csrf_token %}
|
|
{% load crispy_forms_tags %}
|
|
|
|
|
|
{% crispy form %}
|
|
|
|
{% block form_data %}
|
|
{% endblock %}
|
|
</form>
|
|
|
|
{% block post_form_content %}
|
|
{% endblock %} |