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

17 lines
906 B
HTML

{{#each data.paradigmes as |para key|}}
<li class="item stat flexrow list-item list-item-shadow item-ame-roll" data-attr-key="{{key}}">
<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="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}} />
</li>
{{/each}}