Fix: tab order milieux

This commit is contained in:
Vincent Vandemeulebrouck 2022-12-30 02:59:50 +01:00
parent df92a65f5d
commit c933810b6b

View File

@ -11,25 +11,25 @@
<label>Ajouter un fréquence</label>
<span class="flexrow">
<div class="autocomplete">
<input type="text" class="input-selection-milieu" placeholder="Milieu" data-dtype="String"/>
<input name="saisie-nouveau-milieu" type="text" class="input-selection-milieu" placeholder="Milieu" data-dtype="String"/>
{{>'systems/foundryvtt-reve-de-dragon/templates/scripts/autocomplete.hbs' proposals=milieux className='input-selection-milieu'}}
</div>
<a class="milieu-add"><i class="fas fa-plus-circle"></i></a>
</span>
</div>
{{#each system.environnement as |env|}}
{{#each system.environnement as |env key|}}
<div class="form-group environnement-milieu" data-milieu="{{env.milieu}}">
<label>
{{env.milieu}}
<a class="milieu-delete" title="Supprimer {{env.milieu}}"><i class="fas fa-trash"></i></a>
</label>
<span class="flexrow">
<select class="environnement-rarete" class="flex-shrink" data-dtype="String">
<select name="milieu-{{key}}-rarete" class="environnement-rarete" class="flex-shrink" data-dtype="String">
{{#select env.rarete}}
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-rarete.html"}}
{{/select}}
</select>
{{rangePicker name="environnement-frequence" value=env.frequence min=(getFrequenceRarete env.rarete 'min') max=(getFrequenceRarete env.rarete 'max') step=1}}
{{rangePicker name="milieu-{{key}}-frequence" value=env.frequence min=(getFrequenceRarete env.rarete 'min') max=(getFrequenceRarete env.rarete 'max') step=1}}
<label>[{{getFrequenceRarete env.rarete 'min'}}-{{getFrequenceRarete env.rarete 'max'}}]</label>
</span>
</div>