<form>
    {{#each formulas as | formula idx |}}
    <div class="form-group">
        <label>{{ formula.label }} {{#if type}}({{type}}){{/if}}</label>
        <label> {{formula.value}}</label>
          <input data-id="{{formula.id}}" type="checkbox" name="formula.active" data-dtype="Boolean" {{checked formula.active}} />
    </div>
    {{/each}}
    {{#if chooseModifier}}
    <div class="form-group">
        <label>{{ localize "DND5E.AbilityModifier" }}</label>
        <select name="ability">
            {{selectOptions abilities selected=defaultAbility labelAttr="label"}}
        </select>
    </div>
    {{/if}}
    <div class="form-group">
        <label>{{ localize "DND5E.RollSituationalBonus" }}</label>
        <input type="text" name="bonus" value="" placeholder="{{ localize 'DND5E.RollExample' }}"/>
    </div>
    <div class="form-group">
        <label>{{ localize "DND5E.RollMode" }}</label>
        <select name="rollMode">
            {{selectOptions rollModes selected=defaultRollMode localize=true}}
        </select>
    </div>
</form>
