change VorNachteil.system.kategorie to be choices based and use DSA41_input

This commit is contained in:
Sven Balzer
2025-05-04 12:16:10 +02:00
parent 0cf675f58a
commit f82548fbaf
2 changed files with 10 additions and 6 deletions
+1 -4
View File
@@ -7,10 +7,7 @@
{{>editable-input type="number" name="system.kosten" value=item.system.kosten placeholder=(localize "DSA41.vornachteil.kosten")}}
</div>
<div>
<select name="system.kategorie">
<option value="vorteil" {{#if (eq item.system.kategorie "vorteil") }}selected{{/if}}>{{localize "DSA41.vornachteil.kategorie.vorteil"}} </option>
<option value="nachteil" {{#if (eq item.system.kategorie "nachteil")}}selected{{/if}}>{{localize "DSA41.vornachteil.kategorie.nachteil"}} </option>
</select>
{{DSA41_input "system.kategorie"}}
<div class="placeholder">{{localize "DSA41.vornachteil.kategorie.label"}}</div>
</div>
</div>