52 lines
2.3 KiB
Handlebars
52 lines
2.3 KiB
Handlebars
<h3 class="form-header">{{localize 'BOL.featureSubtypes.xplog'}}</h3>
|
|
|
|
<div class="property flexrow">
|
|
<label class="property-label">{{localize "BOL.ui.type"}}</label>
|
|
<select name="system.properties.xptype" value="{{item.system.properties.xptype}}">
|
|
{{#select item.system.properties.xptype}}
|
|
{{#each config.listTypes as |value id|}}
|
|
<option value="{{id}}">{{localize value}}</option>
|
|
{{/each}}
|
|
{{/select}}
|
|
</select>
|
|
</div>
|
|
|
|
<div class="property flexrow">
|
|
<label class="property-label">{{localize "BOL.ui.date"}}</label>
|
|
<input type="text" name="system.properties.xpdate" value="{{item.system.properties.xpdate}}" data-dtype="String"/>
|
|
</div>
|
|
|
|
<div class="property flexrow">
|
|
<label class="property-label">{{localize "BOL.ui.name"}}</label>
|
|
|
|
{{#if (eq item.system.properties.xptype "attribute")}}
|
|
<select name="system.properties.xpname" value="{{item.system.properties.xpname}}">
|
|
{{selectOptions config.attackAttributes selected=item.system.properties.xpname localize=true}}
|
|
</select>
|
|
{{else}}
|
|
{{#if (eq item.system.properties.xptype "aptitude")}}
|
|
<select name="system.properties.xpname" value="{{item.system.properties.xpname}}">
|
|
{{selectOptions config.aptitudes selected=item.system.properties.xpname localize=true} }
|
|
</select>
|
|
{{else}}
|
|
{{#if (eq item.system.properties.xptype "career")}}
|
|
<select name="system.properties.xpname" value="{{item.system.properties.xpname}}">
|
|
{{selectOptions careers labelAttr="name" selected=item.system.properties.xpname localize=true}}
|
|
</select>
|
|
{{else}}
|
|
<input type="text" name="system.properties.xpname" value="{{item.system.properties.xpname}}" data-dtype="String"/>
|
|
{{/if}}
|
|
{{/if}}
|
|
{{/if}}
|
|
|
|
</div>
|
|
<div class="property flexrow">
|
|
<label class="property-label">{{localize "BOL.ui.cost"}}</label>
|
|
<input type="text" name="system.properties.xpcost" value="{{item.system.properties.xpcost}}" data-dtype="Number"/>
|
|
</div>
|
|
|
|
<div class="property flexrow">
|
|
<label class="property-label">{{localize "BOL.ui.value"}}</label>
|
|
<input type="text" name="system.properties.xpvalue" value="{{item.system.properties.xpvalue}}" data-dtype="Number"/>
|
|
</div>
|