{% block content %}{% for el in tasks %}
<div class="list-group w-auto">
<a href="#" class="list-group-item list-group-item-action d-flex gap-3 py-3" aria-current="true">
{% if el.req_status == "confirm" %}
<span width="32" height="32" class="rounded-circle flex-shrink-0">✅</span>
{% elif el.req_status == "answered" %}
<span width="32" height="32" class="rounded-circle flex-shrink-0">⏳</span>
{% else %}
<span width="32" height="32" class="rounded-circle flex-shrink-0">❌</span>
{% endif %}
<div class="d-flex gap-2 w-100 justify-content-between">
<div>
<h6 class="mb-0">{{ el.user_id }}</h6>
<p class="mb-0 opacity-75">{{ el.inn }}</p>
</div>
<small class="opacity-50 text-nowrap">{{ el.req_id }}</small>
<button onclick="getFunction({{re.req_id}}, {{el.req_status}}, ...)"></button>
</div>
</a>
</div>