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

22 lines
840 B
HTML
Raw Normal View History

2022-10-19 17:30:47 +02:00
{{#each system.paradigmes as |para key|}}
2022-03-22 09:01:20 +01:00
<li class="item stat flexrow" data-attr-key="{{key}}">
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common"
2022-10-19 17:30:47 +02:00
name="system.paradigmes.{{key}}.value" value="{{para.value}}" data-dtype="Number" {{#unless
2022-03-22 09:01:20 +01:00
@root.editScore}}disabled{{/unless}} />
<span class="stat-label stat-margin" name="{{key}}">
{{#if para.editable}}
<h4 class="ame-margin">
2022-10-19 17:30:47 +02:00
<input type="text" class="color-class-common" name="system.paradigmes.{{key}}.label" value="{{para.label}}"
2022-03-22 09:01:20 +01:00
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}}