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

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

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-02 12:12:19 -05:00
{{setting-validation-message message=validationMessage}}
<div class="desc">{{html-safe setting.description}}</div>