<div class="card">
    <div class="card-header">
        <h3>Recent Preinfo Submissions</h3>
    </div>
    <div class="card-body">
        <div class="table-container">
            <table>
                <thead>
                    <tr>
                        <th>Booking №</th>
                        <th>Container №</th>
                        <th>Type</th>
                        <th>Container count</th>
                        <th>Containers left</th>
                        <th>Vehicles</th>
                        <th>Status</th>
                        <th>Actions</th>
                    </tr>
                </thead>
                <tbody>
                    {% for booking in recent %}
                    <tr>
                        <td>{{ booking.number }}</td>
                        <td>{{ booking.container_number }}</td>
                        <td>{{ booking.container_type }}</td>
                        <td>{{ booking.container_count }}</td>
                        <td>{{ booking.containers_left }}</td>
                        <td>{{ booking.vehicles_left }}</td>
                        <td><span class="status">{{ booking.status }}</span></td>
                        <td class="actions">
                            <button>Edit</button>
                            <button>Cancel</button>
                        </td>
                    </tr>
                    {% endfor %}
                </tbody>
            </table>
        </div>
    </div>
</div>
