bol/templates/item/parts/properties/item/vehicle-properties.hbs
2022-07-01 16:00:49 +02:00

29 lines
1.0 KiB
Handlebars

<h3 class="form-header">{{localize "BOL.ui.vehicleProperties"}}</h3>
<div class="form-group">
<label class="property-label">{{localize "BOL.ui.subtype"}}</label>
<div class="form-fields">
<select name="system.subtype" data-dtype="String">
{{#select item.system.subtype}}
{{#each config.vehicleSubtypes as |item id|}}
<option value="{{id}}">{{localize item}}</option>
{{/each}}
{{/select}}
</select>
</div>
</div>
<hr/>
<div class="form-group">
<label class="property-label">{{localize "BOL.ui.speed"}}</label>
<div class="form-fields">
<input class="field-value" type="text" name="system.properties.speed" value="{{item.system.properties.speed}}" data-dtype="Number"/>
</div>
</div>
<div class="form-group">
<label class="property-label">{{localize "BOL.ui.price"}}</label>
<div class="form-fields">
<input class="field-value" type="text" name="system.price" value="{{item.system.price}}" data-dtype="Number"/>
</div>
</div>