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

11 lines
379 B
Handlebars

{{#if setting.textarea}}
{{textarea value=value classNames="input-setting-textarea"}}
{{else if isSecret}}
{{input type="password" value=value classNames="input-setting-string"}}
{{else}}
{{text-field value=value classNames="input-setting-string"}}
{{/if}}
{{setting-validation-message message=validationMessage}}
<div class='desc'>{{html-safe setting.description}}</div>