Ajout de "for" dans les labels

This commit is contained in:
Vincent Vandemeulebrouck 2021-12-12 14:48:32 +01:00
parent a68567423f
commit ed4eafacfe

View File

@ -9,20 +9,20 @@
{{!-- Sheet Body --}}
<section class="sheet-body">
<div class="form-group">
<label>Sustentation</label>
<label for="data.sust">Sustentation</label>
<input class="attribute-value" type="text" name="data.sust" value="{{data.sust}}" data-dtype="Number" />
</div>
<div class="form-group">
<label>Boisson</label>
<label for="data.boisson">Boisson</label>
<input class="attribute-value" type="checkbox" name="data.boisson" {{#if data.boisson}}checked{{/if}} />
</div>
{{#if data.boisson}}
<div class="form-group">
<label>Désaltère de</label>
<label for="data.desaltere">Désaltère de</label>
<input class="attribute-value" type="text" name="data.desaltere" value="{{data.desaltere}}" data-dtype="Number" />
</div>
<div class="form-group">
<label>Alcoolisée</label>
<label for="data.alcoolise">Alcoolisée</label>
<input class="attribute-value" type="checkbox" name="data.alcoolise" {{#if data.alcoolise}}checked{{/if}} />
</div>
{{#if data.alcoolise}}
@ -33,24 +33,24 @@
{{/if}}
{{/if}}
<div class="form-group">
<label>Qualité</label>
<label for="data.qualite">Qualité</label>
<input class="attribute-value" type="text" name="data.qualite" value="{{data.qualite}}" data-dtype="Number" />
</div>
<div class="form-group">
<label>Exotisme</label>
<label for="data.exotisme">Exotisme</label>
<input class="attribute-value" type="text" name="data.exotisme" value="{{data.exotisme}}" data-dtype="Number" />
</div>
<div class="form-group">
<label>Encombrement </label>
<label for="data.encombrement">Encombrement</label>
<input class="attribute-value" type="text" name="data.encombrement" value="{{data.encombrement}}"
data-dtype="Number" />
</div>
<div class="form-group">
<label>Quantité </label>
<label for="data.quantite">Quantité</label>
<input class="attribute-value" type="text" name="data.quantite" value="{{data.quantite}}" data-dtype="Number" />
</div>
<div class="form-group item-cout">
<label>Prix (sols) </label>
<label for="data.cout">Prix (sols) </label>
<input class="attribute-value" type="text" name="data.cout" value="{{data.cout}}" data-dtype="Number" />
</div>