FIX: correctly render sql checkboxes (#28328)
This was not using CheckboxGroup and the I18n key was incorrect.
This commit is contained in:
parent
559c9dfe0a
commit
bcfb8a5fc5
|
@ -186,29 +186,27 @@
|
||||||
/>
|
/>
|
||||||
</form.Container>
|
</form.Container>
|
||||||
|
|
||||||
<form.Field
|
<form.CheckboxGroup as |group|>
|
||||||
|
<group.Field
|
||||||
@name="auto_revoke"
|
@name="auto_revoke"
|
||||||
@disabled={{this.readOnly}}
|
@disabled={{this.readOnly}}
|
||||||
@showTitle={{false}}
|
@showTitle={{false}}
|
||||||
@title={{i18n "admin.badges.auto_revoke_label"}}
|
@title={{i18n "admin.badges.auto_revoke"}}
|
||||||
as |field|
|
as |field|
|
||||||
>
|
>
|
||||||
<field.Checkbox>
|
<field.Checkbox />
|
||||||
{{i18n "admin.badges.auto_revoke"}}
|
</group.Field>
|
||||||
</field.Checkbox>
|
|
||||||
</form.Field>
|
|
||||||
|
|
||||||
<form.Field
|
<group.Field
|
||||||
@name="target_posts"
|
@name="target_posts"
|
||||||
@disabled={{this.readOnly}}
|
@disabled={{this.readOnly}}
|
||||||
@title={{i18n "admin.badges.target_posts_label"}}
|
@title={{i18n "admin.badges.target_posts"}}
|
||||||
@showTitle={{false}}
|
@showTitle={{false}}
|
||||||
as |field|
|
as |field|
|
||||||
>
|
>
|
||||||
<field.Checkbox>
|
<field.Checkbox />
|
||||||
{{i18n "admin.badges.target_posts"}}
|
</group.Field>
|
||||||
</field.Checkbox>
|
</form.CheckboxGroup>
|
||||||
</form.Field>
|
|
||||||
|
|
||||||
<form.Field
|
<form.Field
|
||||||
@name="trigger"
|
@name="trigger"
|
||||||
|
|
Loading…
Reference in New Issue