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

{% block table_header %}
        <th style="display: none;">Select</th>
        <th>Preinfo №</th>
        <th>Container №</th>
        <th>Container type</th>
        <th>Line</th>
        <th>Created on</th>
        <th>Created by</th>
{% endblock table_header %}

{% block table_data %}
    <td>{{ object.id }}</td>
    <td>{{ object.container_number }}</td>
    <td>{{ object.container_type }}</td>
    <td>{{ object.line.short_name }}</td>
    <td>{{ object.created_on }}</td>
    <td>{{ object.created_by.username }}</td>
{% endblock %}

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