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.Field
|
||||
@name="auto_revoke"
|
||||
@disabled={{this.readOnly}}
|
||||
@showTitle={{false}}
|
||||
@title={{i18n "admin.badges.auto_revoke_label"}}
|
||||
as |field|
|
||||
>
|
||||
<field.Checkbox>
|
||||
{{i18n "admin.badges.auto_revoke"}}
|
||||
</field.Checkbox>
|
||||
</form.Field>
|
||||
<form.CheckboxGroup as |group|>
|
||||
<group.Field
|
||||
@name="auto_revoke"
|
||||
@disabled={{this.readOnly}}
|
||||
@showTitle={{false}}
|
||||
@title={{i18n "admin.badges.auto_revoke"}}
|
||||
as |field|
|
||||
>
|
||||
<field.Checkbox />
|
||||
</group.Field>
|
||||
|
||||
<form.Field
|
||||
@name="target_posts"
|
||||
@disabled={{this.readOnly}}
|
||||
@title={{i18n "admin.badges.target_posts_label"}}
|
||||
@showTitle={{false}}
|
||||
as |field|
|
||||
>
|
||||
<field.Checkbox>
|
||||
{{i18n "admin.badges.target_posts"}}
|
||||
</field.Checkbox>
|
||||
</form.Field>
|
||||
<group.Field
|
||||
@name="target_posts"
|
||||
@disabled={{this.readOnly}}
|
||||
@title={{i18n "admin.badges.target_posts"}}
|
||||
@showTitle={{false}}
|
||||
as |field|
|
||||
>
|
||||
<field.Checkbox />
|
||||
</group.Field>
|
||||
</form.CheckboxGroup>
|
||||
|
||||
<form.Field
|
||||
@name="trigger"
|
||||
|
|
Loading…
Reference in New Issue