This commit is contained in:
Nikolaj
2025-08-05 09:37:53 +02:00
parent 90daca3ba6
commit 270c7cedca
7 changed files with 16 additions and 18 deletions

View File

@@ -5,7 +5,7 @@
<div class="row">
<label class="container">
<input class="radioButton" type="radio" name="system.attackCategory" value="Physical"
{{#if (eq system.attackCategory "Physical")}}checked{{/if}}>
{{#if (equals system.attackCategory "Physical")}}checked{{/if}}>
<span class="checkmark"></span>
Physical
</label>
@@ -13,7 +13,7 @@
<div class="row">
<label class="container">
<input class="radioButton" type="radio" name="system.attackCategory" value="Special"
{{#if (eq system.attackCategory "Special")}}checked{{/if}}>
{{#if (equals system.attackCategory "Special")}}checked{{/if}}>
<span class="checkmark"></span>
Special
</label>
@@ -30,7 +30,7 @@
<div class="row">
<label class="container">
<input class="radioButton" type="radio" name="system.defenseCategory" value="Physical"
{{#if (eq system.defenseCategory "Physical")}}checked{{/if}}>
{{#if (equals system.defenseCategory "Physical")}}checked{{/if}}>
<span class="checkmark"></span>
Physical
</label>
@@ -38,7 +38,7 @@
<div class="row">
<label class="container">
<input class="radioButton" type="radio" name="system.defenseCategory" value="Special"
{{#if (eq system.defenseCategory "Special")}}checked{{/if}}>
{{#if (equals system.defenseCategory "Special")}}checked{{/if}}>
<span class="checkmark"></span>
Special
</label>

View File

@@ -6,13 +6,13 @@
<div class="typeSelectBox">
<select class="{{system.type1}}" name="system.type1">
{{#each types}}
<option value="{{this}}" {{#if (eq system.type1 this)}}selected{{/if}}>{{this}}</option>
<option value="{{this}}" {{#if (equals system.type1 this)}}selected{{/if}}>{{this}}</option>
{{/each}}
</select>
<select class="{{system.type2}}" name="system.type2">
<option value="" {{#if (eq system.type2 "")}}selected{{/if}}></option>
{{#each types}}
<option value="{{this}}" {{#if (eq system.type2 this)}}selected{{/if}}>{{this}}</option>
<option value="{{this}}" {{#if (equals system.type2 this)}}selected{{/if}}>{{this}}</option>
{{/each}}
</select>
</div>