mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 13:05:42 +00:00
Display 'no stock available' warning
This commit is contained in:
@ -5,13 +5,13 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if form.pre_form_warning %}
|
||||
<div class='alert alert-warning' role='alert' style='display: block;'>
|
||||
<div class='alert alert-warning alert-block' role='alert'>
|
||||
{{ form.pre_form_warning }}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% block non_field_error %}
|
||||
{% if form.non_field_errors %}
|
||||
<div class='alert alert-danger' role='alert' style='display: block;'>
|
||||
<div class='alert alert-danger alert-block' role='alert'>
|
||||
<b>Error Submitting Form:</b>
|
||||
{{ form.non_field_errors }}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user