foundryvtt-reve-de-dragon/templates/settings/system-compendiums.html

20 lines
657 B
HTML
Raw Normal View History

2022-11-06 21:39:47 +01:00
<form autocomplete="off" onsubmit="event.preventDefault();">
<ul>
{{#each systemCompendiums as |definition key|}}
<li class="flexrow">
<label>{{definition.label}}</label>
2024-05-31 21:48:19 +02:00
<select data-dtype="String" class="system-compendium-setting flex-grow-2" data-compendium="{{definition.compendium}}" >
2022-11-06 21:39:47 +01:00
{{#select definition.value}}
{{#each @root.availableCompendiums as |available key|}}
{{#if (eq available.type definition.type)}}
<option value="{{available.name}}">{{available.path }}</option>
{{/if}}
{{/each}}
{{/select}}
</select>
</li>
{{/each}}
</ul>
</form>