{{! This partial is based on the foundry settings partial}} {{#*inline "settingPartial"}}
{{#if this.isCheckbox}} {{else if this.isSelect}} {{else if this.isRange}} {{this.value}} {{else if this.isColor}} {{else}} {{/if}}

{{this.hint}}

{{/inline}}

{{localize "drag-ruler.settings.speedProviderSettings.headers.speedProvider"}}

{{#if this.isGM}} {{#with this.providerSelection}} {{> settingPartial}} {{/with}} {{else}}
{{this.selectedProviderName}}

{{localize "drag-ruler.settings.speedProviderSettings.activeProvider.hint"}}

{{/if}}

{{localize "drag-ruler.settings.speedProviderSettings.headers.speedProviderSettings"}}

{{#each this.providers}}
{{#if this.hasSettings}} {{#each settings}} {{> settingPartial}} {{/each}} {{else}}

{{localize "drag-ruler.settings.speedProviderSettings.noSettings"}}

{{/if}}
{{/each}}