Files
foundryvtt-reve-de-dragon/templates/common/periodicite.hbs
Vincent Vandemeulebrouck a01086ff28 Amélioration champs input
- ajout de min et max quand utile
- ordre et regroupement des attributs:
   - préférence pour name en premier
   - regroupement de class/type/data-dtype
   - regroupement value/min/max
2026-04-29 22:53:22 +02:00

8 lines
364 B
Handlebars

<label for="{{path}}.nombre">{{label}}</label>
<div class="flexrow">
<input name="{{path}}.nombre" type="number" data-dtype="Number" value="{{nombre}}" min="0" max="336"/>
<select name="{{path}}.unite" data-dtype="String" >
{{selectOptions (timestamp-formulesPeriode) selected=unite labelAttr="label" nameAttr="code" valueAttr="code"}}
</select>
</div>