<form class="row g-3 auto-width edit_vehicle_document_validity" id="edit_vehicle_document_validity_form" enctype='multipart/form-data' action="{{ route('vehicle-document-validity.update', $vehicleDocumentType->id) }}">
    @csrf
    @method('PUT')
    
    <div class="col-md-6">
        <div>
            <label for="name" class="form-label">Vehicle Document Type <span class="text-danger"><b>*</b></span></label>
            <input type="text" id="name" class="form-control" value="{{ $vehicleDocumentType->document_type_name }}" disabled>
        </div>
    </div>

    <div class="col-md-6">
        <div>
            <label for="document_no" class="form-label">Document Number </label>
            <input type="text" class="form-control" id="document_no" name="document_no" value="{{ $vehicleDocumentType->document_no }}">
        </div>
    </div>
    <div class="col-md-6">
        <div>
            <label for="next_renewal_date" class="form-label">Registration/Renewal Date </label>
            <input type="date" class="form-control" id="next_renewal_date" name="next_renewal_date" value="{{ $vehicleDocumentType->next_renewal_date }}">
        </div>
    </div>
    <div class="col-md-6">
        <div>
            <label for="last_renewal_date" class="form-label">Expiry Date </label>
            <input type="date" class="form-control" id="last_renewal_date" name="last_renewal_date" value="{{ $vehicleDocumentType->last_renewal_date }}">
        </div>
    </div> 
</form>
