Fix selection des status effects

This commit is contained in:
2024-11-14 22:36:57 +01:00
parent a0c7b87996
commit 45e9e94646
4 changed files with 29 additions and 15 deletions

View File

@ -1,13 +1,13 @@
<form autocomplete="off" onsubmit="event.preventDefault();">
<ul>
{{#each effects as |effect key|}}
<li>
<li >
{{#if effect.rdd}}
<input class="resource-content" type="checkbox" checked disabled/>
<input type="checkbox" checked disabled/>
{{else}}
<input class="resource-content select-effect" type="checkbox" name="{{effect.id}}" {{#if effect.active}}checked{{/if}}/>
{{/if}}
<img class="button-effect-img" height="16" width="16" src="{{effect.img}}" data-tooltip="{{localize effect.name}}" />
<img class="button-effect-info" height="16" width="16" src="{{effect.img}}" data-tooltip="{{localize effect.name}}" />
<label>{{localize effect.name}}</label>
</li>
{{/each}}