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

22 lines
841 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}}
2022-10-20 23:59:31 +02:00
<h4 class="ame-margin">{{para.label}}</h4>
2022-03-22 09:01:20 +01:00
{{/if}}
</span>
2022-10-20 23:59:31 +02:00
<input type="checkbox" name="system.paradigmes.{{key}}.used" {{checked para.used}}>
2022-03-22 09:01:20 +01:00
</li>
{{/each}}