{% extends "crud/list.html.twig" %}
{% block thead %}
    <th>{% trans %}Nome de usuário{% endtrans %}</th>
    <th>{% trans %}Nome{% endtrans %}</th>
    <th>{% trans %}Status{% endtrans %}</th>
{% endblock %}
{% block tbody %}
    <td>{{ item.login }}</td>
    <td>{{ item.nome }}</td>
    <td>
        {% if item.status %}
        <span class="status-active">{% trans %}Ativo{% endtrans %}</span>
        {% else %}
        <span class="status-inactive">{% trans %}Inativo{% endtrans %}</span>
        {% endif %}
    </td>
{% endblock %}