This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2021-12-29 12:02:39 +00:00
|
|
|
<div class="modal fade" id="addingLotModal" tabindex="-1" style="display: none;" aria-hidden="true">
|
|
|
|
<div class="modal-dialog">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<h5 class="modal-title">Adding to a lot</h5>
|
|
|
|
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
2021-12-29 12:44:28 +00:00
|
|
|
Please write a name of a lot
|
|
|
|
<select class="form-control selectpicker" id="selectLot" data-live-search="true">
|
|
|
|
{% for lot in lots %}
|
|
|
|
<option value="{{ lot.id }}">{{ lot.name }}</option>
|
|
|
|
{% endfor %}
|
|
|
|
</select>
|
2021-12-29 12:02:39 +00:00
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
|
|
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
|
|
|
|
<button type="button" class="btn btn-primary">Save changes</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-12-29 12:44:28 +00:00
|
|
|
|
|
|
|
<script>
|
|
|
|
$(function() {
|
|
|
|
$('#selectLot').selectpicker();
|
|
|
|
});
|
|
|
|
</script>
|