<table class="manage-items">
    <thead>
    <tr>
        <th>ID</th>
        <th>Item</th>
        <th>Item variation (size)</th>
        <th>Remove</th>
    </tr>
    </thead>

    <tbody class="tabular">
    {% for temp_item in items %}
        <tr>
            <td>{{ temp_item.id }}</td>
            <td><a href="{{ temp_item.shop_item.getAdminUrl() }}">{{ temp_item.shop_item.name }}</a></td>
            <td>
                {% if (temp_item.shop_item_size.size) %}
                    <a href="{{ temp_item.shop_item_size.getAdminUrl() }}">
                        {{ temp_item.shop_item_size.size }}
                    </a>
                {% else %}
                    -
                {% endif %}
            </td>
            <td>
                <a
                    href="{{ route(delete_route_name, [ temp_item.id ]) }}"
                    class="error"
                    onclick="return confirm('Delete item?')"
                >
                    <i class="fa fa-times-circle"></i>
                </a>
            </td>
        </tr>
    {% endfor %}
    </tbody>
</table>

