1👍
✅
inside the for loop, change usecase_assigned.user_email
to user.user_email
{% for user in usecase_assigned %}
...
<form action="{% url 'unassign_emp' user.user_email %}" method="POST" style="display: inline !important;">
...
{% endfor %}
Source:stackexchange.com