{{ tab_pane(
                            vehicle.id|string + '_odometer',
                            chart(
                                vehicle.odometers,
                                'ref_' + vehicle.id|string + '_odometer',
                                'km',
                                url_for('select_consumable_for_new_pitstop', vid=vehicle.id)
                            ),
                            true
                            )
                        }}
                        {% for consumable in vehicle.consumables %}
                            
                                {{ print_consumable_table(consumable) }}
                                
                                    {{ nav_tab(vehicle.id|string + '_' + consumable.id|string + '_consumption', 'Consumption', true) }}
                                    {{ nav_tab(vehicle.id|string + '_' + consumable.id|string + '_amount', 'Amount', false) }}
                                
                                    {{ tab_pane(
                                        vehicle.id|string + '_' + consumable.id|string + '_consumption',
                                        chart(
                                            consumable.average_amount,
                                            'ref_' + vehicle.id|string + '_' + consumable.id|string + '_consumption',
                                            consumable.unit + '/100km',
                                            url_for('create_pit_stop_form', vid=vehicle.id, cid=consumable.id)
                                            ),
                                        true
                                        )
                                    }}
                                    {{ tab_pane(
                                        vehicle.id|string + '_' + consumable.id|string + '_amount',
                                        chart(
                                            consumable.amounts,
                                            'ref_' + vehicle.id|string + '_' + consumable.id|string + '_amount',
                                            consumable.unit,
                                            url_for('create_pit_stop_form', vid=vehicle.id, cid=consumable.id)
                                            ),
                                        false
                                        )
                                    }}
                                
                                {{ tab_script('vehicle_' + vehicle.id|string + '_' + consumable.id|string + '_tabs') }}
                            
                        {% endfor %}
                    
                    {{ tab_script('vehicle_' + vehicle.id|string + '_tabs') }}