21 lines
976 B
HTML
21 lines
976 B
HTML
{{#each system.attributs as |attr key|}}
|
|
{{#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')}}
|
|
<input class="carac-value" type="text" name="system.attributs.{{key}}.value"
|
|
{{#if (eq key 'plusdom')}}
|
|
value="{{numberFormat attr.value decimals=0 sign=true}}"
|
|
{{else}}
|
|
value="{{attr.value}}"
|
|
{{/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}}
|
|
<label class="carac-xp"/>
|
|
</li>
|
|
{{/if}}
|
|
{{/each}}
|