Editer la protection naturelle

This commit is contained in:
2020-12-18 01:10:03 +01:00
parent da24ff7232
commit 30d1ddef78
4 changed files with 23 additions and 5 deletions

View File

@ -125,7 +125,13 @@
<ul class="carac-list">
{{#each data.attributs as |attr key|}}
<li class="competence flexrow list-item" data-attribute="{{key}}">
<span class="competence-label flexrow" name="data.attributs.{{key}}.label">{{attr.label}} : {{attr.value}}</span>
<span class="competence-label flexrow" name="data.attributs.{{key}}.label">{{attr.label}} :
{{#if (eq key 'protection')}}
<input id="attribut-protection-edit" type="text" name="{{key}}" value="{{attr.value}}" data-dtype="number"/><span/>
{{else}}
{{attr.value}}
{{/if}}
</span>
</li>
{{/each}}
</ul>