2023-03-13 12:44:26 -04:00
|
|
|
<div class="list-group">
|
|
|
|
{% for object in results %}
|
2024-04-19 10:38:34 -04:00
|
|
|
<a href="#" class="list-group-item list-group-item-action p-2" data-label="{{ object }}" data-value="{{ object.pk }}" data-bs-dismiss="modal">
|
|
|
|
{{ object }}
|
|
|
|
{% if object.status %}{% badge object.get_status_display bg_color=object.get_status_color %}{% endif %}
|
2023-03-13 12:44:26 -04:00
|
|
|
{% if object.description %}
|
2024-04-19 10:38:34 -04:00
|
|
|
<small class="d-block text-muted">{{ object.description }}</small>
|
2023-03-13 12:44:26 -04:00
|
|
|
{% endif %}
|
|
|
|
</a>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|