{% comment "" %}
Needs:
- form : DistributorNuberCreateForm
- component_name: Component's name

{% endcomment %}
{% load crispy_forms_tags %}
<div class="modal fade" id="new-distributor-number-modal">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title">Add Part Number for {{component_name}}</h5>
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
            </div>
            <form action="" method="post">
                {% csrf_token %}
                <div class="modal-body">
                   {{form|crispy}}
                </div>
                <div class="modal-footer">
                    <input type="submit" class="btn btn-primary" value="Add Number" name="submit-create-new-distri-num">
                </div>
            </form>
        </div>
    </div>
</div>