{{#d-modal-body id="chat-integration-edit-rule_modal" title="chat_integration.edit_rule_modal.title"}}
{{#if showCategory}} {{else}} {{/if}} {{#if siteSettings.tagging_enabled}} {{/if}}
{{i18n (concat "chat_integration.provider." model.channel.provider ".title")}}
{{channel-data provider=model.provider channel=model.channel}}
{{combo-box name="type" content=model.rule.available_types value=model.rule.type}}
{{combo-box name="filter" content=model.rule.available_filters value=model.rule.filter}}
{{category-chooser name="category" value=model.rule.category_id rootNoneLabel="chat_integration.all_categories" rootNone=true overrideWidths=false }}
{{combo-box content=model.groups valueAttribute="id" value=model.rule.group_id none="chat_integration.choose_group"}}
{{tag-chooser placeholderKey="chat_integration.all_tags" name="tags" tags=model.rule.tags everyTag=true }}
{{/d-modal-body}}