InvenTree/InvenTree/templates/modal_form.html
Oliver Walters 4f84febbd1 More intelligent BuildItem allocation
- 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)
2019-05-07 22:46:37 +10:00

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 %}