<div class="vehicle-section">
	<label>{{localize 'shadowrun6.label.type' }} </label>
	<select name="vehicleType" data-field="system.vtype">
		{{selectOptions config.skill_special.piloting selected=system.vtype localize=true}}
	</select>
</div>
<div class="vehicle-section">
	<label>{{localize 'shadowrun6.label.belongs_to' }} </label>
	<select name="vehicleUser" class="vehicleUser" data-field="system.vehicle.belongs">
		{{selectOptions actor.sheet.allVehicleUser selected=system.vehicle.belongs}}
	</select>
</div>
<div class="vehicle-section">
	<label>{{localize 'shadowrun6.label.mode_of_operation'}}</label> 
	<select name="vehicleOpMode" data-field="system.vehicle.opMode" data-item-id="{{id}}">
	{{selectOptions config.VEHICLE_MODE selected=system.vehicle.opMode localize=true}}
	</select>
</div>

<div>
	<table>
		<tr>
			<td><img src="systems/shadowrun-de/images/road.svg" style="border: 0px; height: auto; width: 48px" /></td>
			<td style="text-align:center; width: 5em"><label class="switch" title="Huh">
			<input name="vehicleRoadType" type="checkbox" data-check="system.vehicle.offRoad" {{checked system.vehicle.offRoad}} type="checkbox" data-dtype="Boolean"/>
							<span class="shadowrun6-slider round"></span>
						</label><br/>{{#if system.vehicle.offRoad}}
			{{localize 'shadowrun6.label.offroad'}}
			{{else}}
			{{localize 'shadowrun6.label.onroad'}}
			{{/if}}</td>
			<td><img src="systems/shadowrun-de/images/hills.svg" style="border: 0px; height: auto; width: 48px" /></td>
			<td style="width: 4em"></td>
			<td><img src="systems/shadowrun-de/images/speedometer.svg" style="border: 0px; height: auto; width: 64px" /></td>
			<td> <button type="button" name="vehicleSlower" class="vehicle-slower">{{localize 'shadowrun6.label.slower'}}</button> </td>
			<td><input name="vehicleSpeed" class="centered box" type="text" style="width: 4em"  value="{{system.vehicle.speed}}" data-dtype="Number" data-field="system.vehicle.speed" /></td>
			<td> <button type="button" name="vehicleFaster" class="vehicle-faster">{{localize 'shadowrun6.label.faster'}}</button> </td>
		</tr>
	</table>
</div>
<div>
	<p>{{speed_info}}</p>
</div>

