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

22 lines
834 B
HTML
Raw Normal View History

2022-05-27 09:45:09 +02:00
{{#each data.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="data.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="data.paradigmes.{{key}}.label" value="{{para.label}}"
data-dtype="String" {{#unless @root.editScore}}disabled{{/unless}} />
</h4>
{{else}}
<h4 class="ame-margin"><a class="roll-ame ame-margin" data-stat-key="{{key}}">{{para.label}}</a></h4>
{{/if}}
</span>
<input type="checkbox">
</li>
{{/each}}