2022-10-05 19:29:16 +02:00
|
|
|
{{#each system.attributs as |attr key|}}
|
2024-12-04 15:55:09 +01:00
|
|
|
{{#if (and (eq key 'plusdom') (eq @root.system.definition.typeentite 'nonincarne'))}}
|
|
|
|
{{else}}
|
|
|
|
<li class="caracteristique flexrow list-item" data-attribute="{{key}}">
|
|
|
|
<span class="carac-label" name="system.attributs.{{key}}.label">{{attr.label}}</span>
|
|
|
|
{{#if (actor-default @root.type 'attributs' key 'derivee')}}
|
2024-12-18 17:26:28 +01:00
|
|
|
<input class="carac-value" type="text" name="system.attributs.{{key}}.value"
|
2024-12-04 15:55:09 +01:00
|
|
|
{{#if (eq key 'plusdom')}}
|
2024-12-18 17:26:28 +01:00
|
|
|
value="{{numberFormat attr.value decimals=0 sign=true}}"
|
2024-12-04 15:55:09 +01:00
|
|
|
{{else}}
|
2024-12-18 17:26:28 +01:00
|
|
|
value="{{attr.value}}"
|
2024-12-04 15:55:09 +01:00
|
|
|
{{/if}}
|
|
|
|
data-dtype="{{attr.type}}" disabled/>
|
|
|
|
{{else}}
|
|
|
|
<input class="caracteristique streched" type="text" name="system.attributs.{{key}}.value" value="{{attr.value}}" data-dtype="{{attr.type}}" {{#unless @root.options.vueDetaillee}}disabled{{/unless}}/>
|
|
|
|
{{/if}}
|
2024-12-18 17:26:28 +01:00
|
|
|
<label class="carac-xp"/>
|
2024-12-04 15:55:09 +01:00
|
|
|
</li>
|
|
|
|
{{/if}}
|
2022-10-05 19:29:16 +02:00
|
|
|
{{/each}}
|