{% extends 'list-crud.html' %}
{% load static %}

{% block table_header %}
            <th>Container №</th>
            <th>Container type</th>
            <th>Line</th>
            <th>Received on</th>
            <th>Position</th>
            <th>Swept</th>
            <th>Washed</th>
            <th>Booking</th>
{% endblock table_header %}

{% block table_data %}
            <td>{{ object.number }}</td>
            <td>{{ object.container_type }}</td>
            <td>{{ object.line.short_name }}</td>
            <td>{{ object.received_on }}</td>
            <td>{{ object.position }}</td>
            <td>{{ object.swept }}</td>
            <td>{{ object.washed }}</td>
            <td>{{ object.booking.number }}</td>
{% endblock %}

{% block buttons %}
{% endblock buttons %}

{% block create_modal_header %}
    <h2>Create Container</h2>
{% endblock %}

{% block modal_header %}
    <h2>Edit Container</h2>
{% endblock modal_header %}