First iteration over items
This commit is contained in:
+7
-34
@@ -4,9 +4,6 @@
|
||||
{{formInput fields.name value=source.name}}
|
||||
</div>
|
||||
|
||||
{{!-- Core Skill Selection --}}
|
||||
{{formField systemFields.coreSkill value=system.coreSkill localize=true label="PRISMRPG.Label.coreSkillType"}}
|
||||
|
||||
{{!-- Is this the character's Core Skill? --}}
|
||||
<div class="form-group">
|
||||
<label>{{localize "PRISMRPG.Label.isCoreSkill"}}</label>
|
||||
@@ -20,41 +17,17 @@
|
||||
<label>{{localize "PRISMRPG.Label.attributeBonusChoice"}}</label>
|
||||
<select name="system.attributeBonus">
|
||||
<option value="">{{localize "PRISMRPG.Label.selectAttribute"}}</option>
|
||||
{{#each (lookup config.CORE_SKILLS system.coreSkill).attributeChoices as |attr|}}
|
||||
<option value="{{attr}}" {{selected system.attributeBonus attr}}>
|
||||
{{localize (concat "PRISMRPG.Label." attr)}}
|
||||
</option>
|
||||
{{/each}}
|
||||
{{#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>
|
||||
|
||||
{{!-- Modifier Display --}}
|
||||
<div class="form-group">
|
||||
<label>{{localize "PRISMRPG.Label.modifier"}}</label>
|
||||
<div class="modifier-display">
|
||||
<span class="basic-bonus">+{{system.modifier}} {{localize "PRISMRPG.Label.basicChecks"}}</span>
|
||||
{{#if system.attributeBonus}}
|
||||
<span class="attribute-bonus">+2 {{localize (concat "PRISMRPG.Label." system.attributeBonus)}}</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{!-- Advanced Checks --}}
|
||||
<div class="form-group">
|
||||
<label>{{localize "PRISMRPG.Label.advancedChecks"}}</label>
|
||||
<span class="{{#if system.canAdvancedCheck}}enabled{{else}}disabled{{/if}}">
|
||||
{{#if system.canAdvancedCheck}}
|
||||
✓ {{localize "PRISMRPG.Label.enabled"}}
|
||||
{{else}}
|
||||
✗ {{localize "PRISMRPG.Label.disabled"}}
|
||||
{{/if}}
|
||||
</span>
|
||||
<p class="hint">{{localize "PRISMRPG.Hint.advancedChecks"}}</p>
|
||||
</div>
|
||||
|
||||
{{!-- Core Skill Class --}}
|
||||
{{formField systemFields.coreSkillClass value=system.coreSkillClass label="PRISMRPG.Label.coreSkillClass"}}
|
||||
{{/if}}
|
||||
|
||||
{{!-- Notes --}}
|
||||
|
||||
Reference in New Issue
Block a user