{{localize "DAGGERHEART.GENERAL.conditional.label.plural"}}

{{localize "DAGGERHEART.GENERAL.conditional.hint"}}

{{localize "EFFECT.ChangeKey"}}
{{localize "EFFECT.ChangeFilter"}}
{{localize "EFFECT.ChangeValue"}}
{{localize "EFFECT.ChangeNegate"}}
    {{#each source.system.conditional.condition as |condition i|}} {{#with ../document.system.schema.fields.conditional.fields.condition.element.fields as |conditionFields|}}
  1. {{formInput conditionFields.field value=condition.field name=(concat "system.conditional.condition." i ".field") localize=true }}
    {{formInput conditionFields.operator value=condition.operator name=(concat "system.conditional.condition." i ".operator") localize=true }}
    {{formInput conditionFields.value value=condition.value name=(concat "system.conditional.condition." i ".value") localize=true }}
    {{formInput conditionFields.negate value=condition.negate name=(concat "system.conditional.condition." i ".negate") localize=true }}
  2. {{/with}} {{/each}}
{{localize "DAGGERHEART.GENERAL.Effect.plural"}}
{{localize "EFFECT.ChangeKey"}}
{{localize "EFFECT.ChangeMode"}}
{{localize "EFFECT.ChangeValue"}}
{{localize "EFFECT.ChangePriority"}}
    {{#each source.changes as |change i|}} {{#with ../fields.changes.element.fields as |changeFields|}}
  1. {{formInput changeFields.mode name=(concat "changes." i ".mode") value=change.mode choices=@root.modes}}
    {{formInput changeFields.value name=(concat "changes." i ".value") value=change.value}}
    {{formInput changeFields.priority name=(concat "changes." i ".priority") value=change.priority placeholder=(lookup ../../priorities change.mode)}}
  2. {{/with}} {{/each}}