added techniques type list checkboxes

This commit is contained in:
Vlyan
2020-12-21 14:26:09 +01:00
parent 3b33dd0c9c
commit 1e0a3f7a00
4 changed files with 17 additions and 2 deletions

View File

@@ -6,7 +6,7 @@
<input class="centered-input select-on-focus" type="number" name="data.rings.earth" value="{{data.rings.earth}}" data-dtype="Number" min="1" max="9" placeholder="0"/>
</label>
</li>
<li id="air">
<li id="air">
<label class="attribute-label air centered-input">
<i class="i_air"></i>
<strong>{{ localizeRing 'air' }}</strong>

View File

@@ -1,4 +1,11 @@
<div class="techniques-wrapper">
{{#each actor.data.techniquesList as |technique|}}
<label>
<input type="checkbox" name="data.techniques.{{technique}}" {{checked (lookup ../actor.data.techniques technique)}} />
{{localizeTechnique technique}}
</label>
{{/each}}
<fieldset class="section-header flexrow">
<legend class="technique-controls">
{{ localize 'l5r5e.techniques.title' }}