discourse/app/assets/javascripts/admin/addon/templates/components/watched-word-uploader.hbs

9 lines
238 B
Handlebars

<label class="btn btn-default {{if this.addDisabled 'disabled'}}">
{{d-icon "upload"}}
{{i18n "admin.watched_words.form.upload"}}
<input
class="hidden-upload-field"
disabled={{this.addDisabled}}
type="file"
/>
</label>