+
+ {{#unless data.custom.enabled}}
+
+ {{ formField fields.number name=(concat prefix "number") value=data.number }}
+ {{ formField fields.denomination name=(concat prefix "denomination") value=data.denomination
+ options=denominationOptions }}
+ +
+ {{ formField fields.bonus name=(concat prefix "bonus") value=data.bonus }}
+
+
+ {{else}}
+
+ {{ formField fields.custom.fields.formula name=(concat prefix "custom.formula")
+ value=data.custom.formula }}
+
+
+
+
+ {{/unless}}
+ {{ formField fields.custom.fields.enabled name=(concat prefix "custom.enabled")
+ value=data.custom.enabled }}
+
+ {{ formField fields.types name=(concat prefix "types") value=data.types options=typeOptions }}
+
+ {{#if canScale}}
+ {{#with fields.scaling.fields as |fields|}}
+
+ {{ formField fields.mode name=(concat ../prefix "scaling.mode") value=../data.scaling.mode
+ options=../scalingOptions }}
+ {{#if ../data.scaling.mode}}
+ {{ formField fields.number name=(concat ../prefix "scaling.number") value=../data.scaling.number }}
+ {{ formField fields.formula name=(concat ../prefix "scaling.formula") value=../data.scaling.formula }}
+ {{/if}}
+
+ {{/with}}
+ {{/if}}
+
+
+
+ {{/each}}
+