<table class="table">
    <thead>
    <tr>
        <th>Name</th>
        <th>Ernährung</th>
        <th>Preis</th>
        <th>Anmerkung</th>
        <th></th>
    </tr>
    </thead>
    <tbody>
    {% for ticket in field.value %}
        <tr>
            <td>{{ (ticket.type | ticket)['name'] }}</td>
            <td>{{ ticket.foodType | food }}</td>
            <td>{{ (ticket.type | ticket)['price'] }}€</td>
            <td>{{ ticket.note }}</td>
            <td>
                <a href="{{ ticket|url }}"
                   class="btn btn-info btn-sm">
                    View
                </a>
            </td>
        </tr>
    {% else %}
        <tr>
            <td colspan="4" class="text-center">No Orders Found</td>
        </tr>
    {% endfor %}
    </tbody>
</table>
