discourse/app/assets/javascripts/admin/addon/components/site-settings/string.hbs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
477 B
Handlebars
Raw Normal View History

{{#if this.setting.textarea}}
<Textarea @value={{this.value}} class="input-setting-textarea" />
{{else if this.isSecret}}
<Input
@type="password"
@value={{this.value}}
class="input-setting-string"
autocomplete="new-password"
/>
{{else}}
<TextField @value={{this.value}} @classNames="input-setting-string" />
{{/if}}
<SettingValidationMessage @message={{this.validationMessage}} />
<SiteSettings::Description @description={{this.setting.description}} />