mirror of
https://github.com/discourse/discourse.git
synced 2025-01-17 07:32:44 +08:00
32 lines
920 B
Handlebars
32 lines
920 B
Handlebars
|
<DPageSubheader
|
||
|
@titleLabel={{i18n "admin.embedding.crawlers"}}
|
||
|
@descriptionLabel={{i18n "admin.embedding.crawlers_description"}}
|
||
|
/>
|
||
|
|
||
|
<Form @onSubmit={{this.save}} @data={{this.formData}} as |form|>
|
||
|
<form.Field
|
||
|
@name="allowed_embed_selectors"
|
||
|
@title={{i18n "admin.embedding.allowed_embed_selectors"}}
|
||
|
@format="large"
|
||
|
as |field|
|
||
|
>
|
||
|
<field.Input placeholder="article, #story, .post" />
|
||
|
</form.Field>
|
||
|
<form.Field
|
||
|
@name="blocked_embed_selectors"
|
||
|
@title={{i18n "admin.embedding.blocked_embed_selectors"}}
|
||
|
@format="large"
|
||
|
as |field|
|
||
|
>
|
||
|
<field.Input placeholder=".ad-unit, header" />
|
||
|
</form.Field>
|
||
|
<form.Field
|
||
|
@name="allowed_embed_classnames"
|
||
|
@title={{i18n "admin.embedding.allowed_embed_classnames"}}
|
||
|
@format="large"
|
||
|
as |field|
|
||
|
>
|
||
|
<field.Input placeholder="emoji, classname" />
|
||
|
</form.Field>
|
||
|
<form.Submit @label="admin.embedding.save" />
|
||
|
</Form>
|