45 lines
1.7 KiB
Handlebars
45 lines
1.7 KiB
Handlebars
<section>
|
|
<div class="header">
|
|
<img class="item-img" src="{{item.img}}" data-edit="img" data-action="editImage" data-tooltip="{{item.name}}" />
|
|
{{formInput fields.name value=source.name}}
|
|
</div>
|
|
|
|
{{!-- Is this the character's Core Skill? --}}
|
|
<div class="form-group">
|
|
<label>{{localize "PRISMRPG.Label.isCoreSkill"}}</label>
|
|
<input type="checkbox" name="system.isCoreSkill" {{checked system.isCoreSkill}} />
|
|
<p class="hint">{{localize "PRISMRPG.Hint.isCoreSkill"}}</p>
|
|
</div>
|
|
|
|
{{#if system.isCoreSkill}}
|
|
{{!-- Attribute Bonus Selection --}}
|
|
<div class="form-group">
|
|
<label>{{localize "PRISMRPG.Label.attributeBonusChoice"}}</label>
|
|
<select name="system.attributeBonus">
|
|
<option value="">{{localize "PRISMRPG.Label.selectAttribute"}}</option>
|
|
{{#with (lookup config.CORE_SKILLS system.coreSkill)}}
|
|
{{#each attributeChoices}}
|
|
<option value="{{this}}" {{#if (eq ../../system.attributeBonus this)}}selected{{/if}}>
|
|
{{localize (concat "PRISMRPG.Label." this)}}
|
|
</option>
|
|
{{/each}}
|
|
{{/with}}
|
|
</select>
|
|
<p class="hint">{{localize "PRISMRPG.Hint.attributeBonus"}}</p>
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
{{!-- Notes --}}
|
|
<fieldset>
|
|
<legend>{{localize "PRISMRPG.Label.notes"}}</legend>
|
|
{{formInput systemFields.notes enriched=enrichedNotes value=system.notes name="system.notes" toggled=true}}
|
|
</fieldset>
|
|
|
|
{{!-- Description --}}
|
|
<fieldset>
|
|
<legend>{{localize "PRISMRPG.Label.description"}}</legend>
|
|
{{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}}
|
|
</fieldset>
|
|
|
|
</section> |