shimatta-kenkyusho/shimatta_kenkyusho/templates/parts/modals/new-distributor-number-modal.html

26 lines
933 B
HTML
Raw Permalink Normal View History

2022-01-02 16:23:49 +01:00
{% 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>