26 lines
929 B
HTML
26 lines
929 B
HTML
|
{% comment "" %}
|
||
|
Needs:
|
||
|
- form : ComponentParameterCreateForm
|
||
|
- component_name: Component's name
|
||
|
|
||
|
{% endcomment %}
|
||
|
{% load crispy_forms_tags %}
|
||
|
<div class="modal fade" id="new-component-parameter-modal">
|
||
|
<div class="modal-dialog">
|
||
|
<div class="modal-content">
|
||
|
<div class="modal-header">
|
||
|
<h5 class="modal-title">Add Parameter 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-param">
|
||
|
</div>
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|