fvtt-imperium5/templates/actor-partial-paradigmes.html

22 lines
841 B
HTML

{{#each system.paradigmes as |para key|}}
<li class="item stat flexrow" data-attr-key="{{key}}">
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common"
name="system.paradigmes.{{key}}.value" value="{{para.value}}" data-dtype="Number" {{#unless
@root.editScore}}disabled{{/unless}} />
<span class="stat-label stat-margin" name="{{key}}">
{{#if para.editable}}
<h4 class="ame-margin">
<input type="text" class="color-class-common" name="system.paradigmes.{{key}}.label" value="{{para.label}}"
data-dtype="String" {{#unless @root.editScore}}disabled{{/unless}} />
</h4>
{{else}}
<h4 class="ame-margin">{{para.label}}</h4>
{{/if}}
</span>
<input type="checkbox" name="system.paradigmes.{{key}}.used" {{checked para.used}}>
</li>
{{/each}}