{% extends 'barrier/barrier-base.html' %}
{% load static %}
{% block content %}
    <form method="post">
        <h2 style="color: #a57d52; margin-bottom: 20px; text-align: center;">Container Expedition</h2>    
        {% csrf_token %}
        <input type="hidden" name="booking_id" value="{{ booking.id }}">
        <input type="hidden" name="container_id" value="{{ container.id }}">        
        <p>
            <label for="id_booking_number">Booking number:</label>
            <input type="text" name="booking_number" value="{{ booking.number }}" maxlength="11" required id="id_booking_number" readonly disabled>
        </p>
        {{ form.as_p }}
        <div >
            <button type="submit" >
                Expedite container
            </button>
        </div>                
    </form>
{% endblock content %}