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

14 lines
870 B
HTML
Raw Normal View History

2022-03-19 09:30:00 +01:00
{{#each data.ames as |ame key|}}
{{#if (eq ame.type ../typeame)}}
<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}}">
<h4 class="ame-margin"><a class="roll-ame ame-margin" data-stat-key="{{key}}">{{ame.label}}</a></h4>
</span>
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common" name="data.ames.{{key}}.value" value="{{ame.value}}"
data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}} />
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common" name="data.ames.{{key}}.cohesion" value="{{ame.cohesion}}"
data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}} />
</li>
{{/if}}
{{/each}}