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

11 lines
379 B
Handlebars
Raw Normal View History

{{#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}}
2015-03-03 01:12:19 +08:00
{{setting-validation-message message=validationMessage}}
<div class='desc'>{{{unbound setting.description}}}</div>